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 Admin Tool

V4.1.2

  • What's new
  • Product introduction
    • What is OAT?
    • Architecture
    • Concepts
  • Quick start
    • Install OAT
    • Get started with OAT
  • oatcli
  • Upgrade guide
  • User guide
    • Log on to OAT
    • Page layout of the OAT console
    • Servers
      • Add a server
      • Edit a server
      • Perform O&M operations on a server
      • Remove a server
      • Manage credentials
    • Product services
      • Install, upgrade, and uninstall OCP
      • Install, upgrade, and uninstall ODC
      • Install, upgrade, and uninstall OMS
      • Install, Upgrade, Modify, and Uninstall OB Sharding
      • Create and uninstall MetaDB
      • Create and uninstall OBDNS
      • Create and uninstall InfluxDB
      • Create and uninstall NLB
      • Create and uninstall OpenSearch
      • Install and uninstall OBLB
      • Take over OCP
      • Take over ODC
      • Take over OB Sharding
      • Take over OMS
      • Take over MetaDB
      • Take over OBDNS
      • Take over InfluxDB
      • Take over NLB
      • Manage images
      • Modify resources of products and components
      • Manage tools
      • Data refresh
    • System security
      • Task list
      • Package management
      • Manage users
      • Operation audit
  • FAQ

Download PDF

What's new What is OAT? Architecture Concepts Install OAT Get started with OAT oatcli Upgrade guide Log on to OAT Page layout of the OAT console Add a server Edit a server Perform O&M operations on a server Remove a server Manage credentials Install, upgrade, and uninstall OCP Install, upgrade, and uninstall ODC Install, upgrade, and uninstall OMS Install, Upgrade, Modify, and Uninstall OB Sharding Create and uninstall MetaDB Create and uninstall OBDNS Create and uninstall InfluxDB Create and uninstall NLB Create and uninstall OpenSearch Install and uninstall OBLB Take over OCP Take over ODC Take over OB Sharding Take over OMS Take over MetaDB Take over OBDNS Take over InfluxDB Take over NLB Manage images Modify resources of products and components Manage tools Data refresh Task list Package management Manage users Operation audit FAQ
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 Admin Tool
  3. V4.1.2
iconOceanBase Admin Tool
V 4.1.2
  • V 4.5.0
  • V 4.4.1
  • V 4.4.0
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.1
  • V 4.1.2

Upgrade guide

Last Updated:2026-04-13 08:27:12  Updated
share
What is on this page
Procedure

folded

share

Note

  • This topic only applies to the upgrade of OceanBase Admin Toolkit (OAT) from V3.2, V4.0, or V4.1.1 to V4.1.2. Versions earlier than V3.2 support only takeover, but not upgrades.
  • This topic describes how to upgrade OAT V3.2 to V4.1.2.

Procedure

To upgrade OAT V3.2 to V4.1.2, perform the following steps:

  1. Load the image of the new version.

    docker load -i <image of the new version>
    
  2. Disable MariaDB in the container.

    # Go to the container.
    docker exec -it <container name> bash
    # Terminate ongoing MariaDB service processes (According to different versions of MariaDB, the actual process name may be Mariadbd or mysqld).
    pkill mariadbd; pkill mysqld;
    # Verify that no MySQL service process is running.
    pgrep 'mariadbd|mysqld'
    # Return to the host.
    exit
    
  3. Query the data mount directory on the host specified when you start the OAT V3.2 container.

    docker inspect <container name> -f '{{.Mounts}}'
    

    The following result is returned:

    [{bind  /data_dir /data   true rprivate}]
    

    The /data_dir directory on the host corresponds to the /data directory in the container. The /data_dir directory must be consistent when you start OAT V4.1.2 in Step 5.

  4. Stop and delete the OAT V3.2 container.

    docker stop <container name> && docker rm <container name>
    
  5. Start the OAT V4.1.2 container from the data mount directory.

    docker run -d --name oat --net host -v <data_dir>:/data --restart on-failure:5  $oat_image
    
  6. Query startup logs.

    docker logs -f oat
    

    After the refreshing of the startup logs stops, log on to OAT to check whether the upgrade is successful.

Previous topic

oatcli
Last

Next topic

Log on to OAT
Next
What is on this page
Procedure