OceanBase logo

OceanBase

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

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

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

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 Database

SQL - V3.2.4Enterprise 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 & Certification
    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 Database
    3. SQL
    4. V3.2.4
    iconOceanBase Database
    SQL - V 3.2.4Enterprise Edition
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    View error codes

    Last Updated:2023-10-24 09:23:03  Updated
    share
    What is on this page
    MySQL tenant
    Format of error messages
    Variables in error messages
    Error codes
    Oracle tenant
    Format of error messages
    Variables in error messages
    About ORA-00600

    folded

    share

    This topic describes the error codes for MySQL and Oracle tenants in OceanBase Database. You can use the error codes to quickly analyze and resolve database issues.

    MySQL tenant

    Format of error messages

    OceanBase Database is highly compatible with MySQL. Specifically, OceanBase Database is compatible with general MySQL features, foreground and background MySQL protocols, as well as some native error codes of MySQL. Therefore, the error message format for MySQL tenants in OceanBase Database is the same as that in MySQL databases, as shown below:

    ERROR <err_num> (<sql_stat>) : err_msg
    

    err_num indicates the error code. sql_stat indicates the SQL execution status. err_msg indicates the error message.

    Variables in error messages

    In OceanBase Database, variables are embedded in error messages to help you troubleshoot issues. In this topic, these variables are represented by percent signs (%). Example:

    ERROR 4626 (HY000) : resource pool '%s' has already been granted to a tenant
    

    The preceding error message may appear as the following message:

    ERROR 4626 (HY000) : resource pool 'pool1' has already been granted to a tenant
    

    Error codes

    The following table describes the system error codes by range.

    Error code range Description
    0001 to 3999 Error codes compatible with MySQL.
    • MySQL server error codes
    • MySQL client error codes
    4000 to 4499 Common error codes.
    4500 to 4999 RootService error codes.
    5000 to 5999 SQL, WITH clause, and Factoring error codes.
    6000 to 6999 Transaction, multi-version concurrency control (MVCC), and clog error codes.
    7000 to 7999 Election module error codes.
    8000 to 8999 Fatal error codes. If a client receives an error message with an error code within this range, the client must close the SQL connection.
    9000 to 9499 Backup, recovery, and STORAGE 3.0 error codes.
    9500 to 9999 Procedural language (PL) error codes.
    22998, 30926, 38104, and 38105 BLOB and CLOB error codes.

    Oracle tenant

    Format of error messages

    For Oracle tenants in OceanBase Database, error messages are returned in the format of prefix+numeric code. For example, for an error that originates from a database, an error message prefixed with ORA is returned. For an error that originates from a stored procedure, an error message prefixed with PLS is returned. The error message format is the same as that in Oracle databases.

     ORA-<err_num>: <err_msg>
    

    In the format, err_num indicates an error code compatible with Oracle databases, and err_msg indicates the error information.

    Variables in error messages

    OceanBase Database integrates parameters into error messages to help you locate and fix errors. These parameters are displayed as percent signs (%). Example:

    ORA-00910: specified length too long for column '%s' (max = %d byte)
    

    The preceding error message may appear as the following message:

    ORA-00910: specified length too long for column 'fruit' (max = 32767 byte)
    

    About ORA-00600

    In Oracle databases, ORA-00600 indicates an internal error, which is a Catchall internal error message for Oracle program exceptions. It indicates that the process encounters a low-level or unexpected error.

    In Oracle tenants of OceanBase Database, for errors that are incompatible with Oracle databases, this error code is returned in the following format:

    ORA-00600: internal error code, arguments: %d, %s
    

    %d indicates an error code in OceanBase Database, and %s indicates the error message in OceanBase Database.

    Previous topic

    View logs
    Last

    Next topic

    Query views
    Next
    What is on this page
    MySQL tenant
    Format of error messages
    Variables in error messages
    Error codes
    Oracle tenant
    Format of error messages
    Variables in error messages
    About ORA-00600