Deploy OceanBase Desktop
This topic describes how to deploy OceanBase Desktop on Windows or macOS.
Overview
OceanBase Desktop is a desktop application for managing and working with seekdb. It provides a graphical interface so you can manage databases, run queries, and import or export data without using the command line.
OceanBase Desktop offers:
- Graphical interface: A simple UI for common database tasks.
- Database management: Create and manage database instances.
- Query execution: Run SQL from an integrated command line.
- Monitoring and logs: View database status in real time.
- Windows
- macOS
Check system requirements
Before installing OceanBase Desktop on Windows, ensure your machine meets these requirements:
-
Operating system: Windows on x86-64. For WSL 2 you need Windows 10 version 1903 or later (build 18362 or later), or Windows 11.
-
Resources: At least 1 vCPU, 2 GB RAM, and 5 GB free disk space.
You can verify your system as follows.
-
Check Windows version
Press [Win] + [Q], search for Settings, and open it. In Settings, go to System and scroll to About to see your Windows build number.
-
Check memory and CPU
Press [Win] + [Q], search for Task Manager, and open it. Open the Performance tab. Use the CPU and Memory tabs to see core count and memory usage.
-
Check disk
Press [Win] + [Q], search for File Explorer, and open it. In the left pane, click This PC and check the drives under Devices and drives.
Installation steps
-
Install dependencies
OceanBase Desktop on Windows uses WSL (Windows Subsystem for Linux), so you can run Linux binaries on Windows. Microsoft introduced WSL in 2016.
Two versions exist: WSL 1 and WSL 2. WSL 1 provides a compatibility layer that translates Linux system calls to Windows. WSL 2 runs a real Linux kernel in a lightweight VM via Hyper-V, giving a much closer experience to native Linux.
tipWSL 2 is not an upgrade of WSL 1; you can install WSL 2 directly. OceanBase Desktop only supports WSL 2.
-
Check if virtualization is enabled
Press [Win] + [Q], search for Task Manager, and open it. Go to the Performance tab and select CPU. If Virtualization shows Enabled, you are set. If it shows Disabled, enable it in BIOS as described next.
-
Enable virtualization in BIOS
The steps below use a ThinkPad (Lenovo) as an example. Other brands differ slightly; check your vendor’s support site, for example Dell, Lenovo, ThinkPad, HP, or Huawei.
- Open the Start menu, click Power, then Restart.
- As the machine restarts, press F1 (or the key shown on screen) to enter BIOS.
- Go to Security → Security Virtualization.
- Set Virtualization Technology to Enabled (or On, depending on your BIOS).
- Choose Save and Exit and wait for the system to reboot.
infoYou can confirm virtualization is on by opening Task Manager again and checking the Virtualization field under Performance → CPU.
-
-
Install OceanBase Desktop
-
Download the installer
Go to the OceanBase seekdb download center, find OceanBase Desktop, choose the version, operating system, and CPU architecture you need, then click Download.
-
Run the installer
- Double-click the downloaded
OceanBase-Desktop-Setup-x.x.x.exe. - When User Account Control appears, click Yes to allow the app to make changes.
- On the Installer Language screen, select the language (default is Chinese (Simplified)).
- Choose the install location (default is drive C). Click Browse to pick another folder if you prefer, then click Install.
- When setup finishes, click Finish. OceanBase Desktop will start automatically.
- Double-click the downloaded
-
Start OceanBase Desktop
The first time you open the app, you’ll see the obshell Dashboard login screen. The default password is empty; click Login to continue.
On the obshell Dashboard, the instance starts automatically. From this page you can see instance details and manage the instance.
-
-
Connect to OceanBase Desktop
After OceanBase Desktop is running, you can connect from a terminal. Example:
wsl.exe -d oceanbase-desktop --exec bash -c "mysql -h127.0.0.1 -P2881 -uroot -Doceanbase -A"
Check system requirements
Before installing OceanBase Desktop on macOS, ensure your machine meets these requirements:
-
Operating system: macOS on Apple Silicon or Intel.
-
Resources: At least 1 vCPU, 2 GB RAM, and 5 GB free disk space.
You can verify your system as follows.
-
Check CPU and memory
Open Finder → Applications → Utilities → Activity Monitor. Use the CPU and Memory tabs to view usage.
-
Check disk
Click the Apple menu → About This Mac → More Info, then check Storage for disk space.
Installation steps
On macOS you install OceanBase Desktop from a DMG package.
-
Download the DMG
Go to the OceanBase seekdb download center, find OceanBase Desktop, choose the version, operating system, and CPU architecture you need, then click Download.
-
Install the app
Double-click the downloaded DMG and follow the on-screen steps to install.
-
Start OceanBase Desktop
After installation, open seekdb Desktop (or OceanBase Desktop) from the desktop or Applications.
Connect to OceanBase Desktop
Example connection string:
mysql -h127.0.0.1 -P2881 -uroot -Dtest -A