OceanBase
Introduction
OceanBase can be used as the NocoBase main database. It stores NocoBase system-table data and business data in the main data source. Configure it when deploying NocoBase; it cannot be deleted after the application is running.
OceanBase is supported as the main database only in MySQL compatibility mode.
Plugin installation
OceanBase is provided by @nocobase/plugin-data-source-oceanbase and requires a commercial license.
Usage
- Select or enter OceanBase connection settings when deploying NocoBase.
- After NocoBase starts, open Data source management, select Main, and manage collections and fields in the main database.
- To connect tables that already exist in the database, use Sync from database on the main-database management page.
- When configuring fields, use Collections and Collection fields to choose Field types and Field interfaces.
Field type mapping
When you create a field in NocoBase, NocoBase creates the corresponding OceanBase column. When you synchronize an existing table, NocoBase uses MySQL-compatible mapping to select a suitable Field type and Field interface. You can adjust the display interface in field configuration.
Unsupported OceanBase types are shown separately in field configuration. They require development support before they can be used as normal NocoBase fields.
For common configuration, see Main database.

