root@test on an observer’s port 2881, root@test#obcluster through OBProxy on 2883. Any OceanBase version in MySQL mode connects. Host, password, SSH tunnels, SSL/TLS and Cmd+K database switching work as on MySQL.
Connection settings
Release the Server Connection After is available under Advanced. AWS IAM, Cloud SQL Auth Proxy and Unix socket are not offered; reach a private cluster through an SSH tunnel.
Connection URL
@ in the user name as %40 and the # as %23. oceanbase+ssh:// opens it through an SSH tunnel. See Connection URL Reference.
What differs from MySQL
- Connecting reads
@@version_comment. A server that does not answer withOceanBaseand a version number there is refused, so a wrong host or port fails at connect. - The sidebar hides
information_schema,mysql,oceanbase,SYS,LBACSYSandORAAUDITOR. A tenant’stestdatabase stays listed. - The query timeout replaces OceanBase’s own 10 second statement limit, and No limit removes it.
- CHECK constraints appear in the Structure tab on OceanBase 4.0 and later. Adding one from the Structure tab is not offered.
- Triggers appear in the Structure tab. Adding one from there is not offered.
EXPLAINshows the plan as text.EXPLAIN FORMAT=JSONandEXPLAIN ANALYZEare not offered.- Table Maintenance offers
ANALYZE TABLEon OceanBase 4.2.2 and later, and nothing on earlier versions.
5.7.25 or 5.6.25 and names no engine. Choose OceanBase as the connection type.
Tables without a primary key
An OceanBase table declared without a primary key is edited as it is on MySQL: theUPDATE or DELETE matches every column of the row, and a save that would change more than one row, or none, stops and reports it. See Change tracking.
Limitations
- Oracle-mode tenants do not connect. Point the connection at a MySQL-mode tenant.
- No Server Dashboard, and File > Backup Dump… stays dimmed.
- Compare & Sync writes no structure script between OceanBase and MySQL or MariaDB. OceanBase against OceanBase works.
- Tenant and cluster administration is not offered. Create tenants with SQL as
root@sys.
Related
- MySQL, for connection fields, SSL/TLS, and troubleshooting
- TiDB
- SSH Tunneling

