OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Migration Service

V4.3.0Enterprise Edition

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Migration Service
    3. V4.3.0
    iconOceanBase Migration Service
    V 4.3.0Enterprise Edition
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    Enterprise Edition
    • V 4.3.2
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.4
    • V 4.2.3
    • V 4.0.2
    • V 3.4.0
    Community Edition
    • V 4.2.13
    • V 4.2.12
    • V 4.2.11
    • V 4.2.10
    • V 4.2.9
    • V 4.2.8
    • V 4.2.7
    • V 4.2.6
    • V 4.2.5
    • V 4.2.4
    • V 4.2.3
    • V 4.2.1
    • V 4.2.0
    • V 4.0.0
    • V 3.3.1

    Create a standalone OceanBase data source

    Last Updated:2026-04-14 07:37:05  Updated
    Share
    What is on this page
    Prerequisites
    Procedure

    folded

    Share

    Before you create a data migration task, you must configure a data source. You must create OceanBase Database as the source or the target before you start a data migration task. This topic describes how to create a standalone OceanBase data source in OceanBase Migration Service (OMS).

    Prerequisites

    • You have obtained the service address and port number of the database.

    • A database user has been created for data migration.

      We recommend that you create a dedicated database user for the data migration task. This user must have the necessary privileges on the data. For more information, see Create a database user.

    Procedure

    1. Log in to the OMS console.

    2. In the left-side navigation pane, click Data Source Management.

    3. On the Data Source Management page, click New Data Source in the upper-right corner.

      data-source5-en

    4. In the New Data Source dialog box, set Data Source Type to OceanBase.

    5. If you want to add a standalone data source, configure the related parameters.

      Parameter
      Description
      Data Source Identifier We recommend that you use a name that contains Chinese characters, numbers, and letters. The name cannot contain spaces and must be 32 characters or less in length.
      Note:
      The data source identifier must be unique in OMS.
      Region The region to which the data source belongs.
      Note:
      • This parameter is displayed only in multi-region scenarios.
      • Make sure that the mapping between the data source and the region is consistent, otherwise the migration or synchronization performance may be poor.
      Tenant Type The tenant type of OceanBase Database. Currently, the database supports both MySQL-compatible and Oracle-compatible tenants.
      Input Method The connection method. Valid values: Manual Input and Command-line Connection String.
      • Manual Input : Enter the IP address and port number of the OceanBase database.
      • Command-line Connection String : Enter the command-line connection string.
      Command-Line Connection String This parameter is displayed only when you set Input Mode to Command-line Connection String. You can enter an one-segment or three-segment connection string. After you enter a connection string, the system automatically populates the Service Address and Port fields. Here are some examples of command-line connection strings:
      • One-segment connection string

        mysql -ht5zxxxx.oceanbase.aliyuncs.com -utest -P3306 -c -A -p

      • Three-segment connection string

        obclient -hxxx.xxx.xxx.xxx -P2891 -uuser@tenant#cluster -p

      Host IP The IP address of the host where the database is located.
      Port The port number of the host IP address.
      Tenant Name The name of the OceanBase database tenant.
      Database Username The name of the user in the OceanBase database for data migration or synchronization. We recommend that you create a dedicated database user for each data migration or synchronization task.
      Database Password The password of the database user.
      Remarks (Optional) The remarks for the data source.
    6. (Optional) In the New Data Source dialog box, click Expand next to Advanced Options to expand the section, and configure the parameters as needed.

      migration-46-en

      Parameter
      Description
      DRC User Username (Optional) The DRC user is used to read incremental logs and database object schemas from the OceanBase database. You need to create this user in the sys tenant of the business cluster.
      Password (Optional) The password of the DRC user.
      __OCEANBASE_INNER_DRC_USER Password (Optional) The __OCEANBASE_INNER_DRC_USER is used to migrate data from tables without unique keys in the OceanBase database. Note: You must create this user in the tenant where the current data source is located.
      • When you create a data migration or synchronization task with a physical OceanBase data source as the source:

        • For schema migration or synchronization and incremental synchronization, you must specify the username and password.

        • For data migration without unique keys, you must specify the password of the __OCEANBASE_INNER_DRC_USER.

      • When you create a data migration task with a physical OceanBase data source as the target, you must specify the username and password for reverse incremental migration.

    7. Click Test Connection to verify the network connection between OMS and the data source, as well as the validity of the username and password.

    8. After the test connection succeeds, click OK.

    Previous topic

    Create a public cloud OceanBase data source
    Last

    Next topic

    Create a MySQL data source
    Next
    What is on this page
    Prerequisites
    Procedure