Navicat is a GUI-based database management tool for creating connections from your on-premises device to AnalyticDB for MySQL clusters.
Prerequisites
Before you begin, make sure you have:
Reviewed the compatibility between Navicat and AnalyticDB for MySQL. See Compatibility overview.
Installed V16.0.14 or later of Navicat Premium or Navicat for MySQL. This guide uses Navicat for MySQL.
Added the IP address of your device to the IP address whitelist of the target AnalyticDB for MySQL cluster. See Configure an IP address whitelist.
(For Internet connections) Applied for a public endpoint. See Apply for or release a public endpoint.
Connect to an AnalyticDB for MySQL cluster
Step 1: Get your cluster connection details
Before configuring Navicat, locate the following details in the AnalyticDB for MySQL console:
Endpoint: On the Cluster Information page, copy the endpoint of the cluster.
Port:
3306Database account: A privileged account or standard account for the cluster.
Step 2: Configure the connection in Navicat
Open Navicat for MySQL and choose File > New Connection > MySQL.
In the New Connection dialog box, enter the connection details:
If you are on macOS, also enter the database name before proceeding.
Parameter Description Connection Name A name for the connection. Use a descriptive name that identifies the cluster. Host The endpoint of the AnalyticDB for MySQL cluster, copied from the Cluster Information page. Port 3306User Name The database account name. The account can be a privileged account or a standard account. Password The password of the database account. Click Test Connection. After the test succeeds, click OK. The connection is created but remains disabled until you open it manually.
Step 3: Open the connection and start managing data
In the connection list, right-click the connection name and select Open Connection.
Right-click the database name and select Open Database.
The database connection is now active. Use Navicat for MySQL to query and manage data in the cluster.
What's next
To understand what SQL operations are supported, see Compatibility overview.