Connect to a 2.0 cluster
For application development, you can connect to an AnalyticDB for MySQL 2.0 cluster in the following ways.
Connect to an AnalyticDB for MySQL 2.0 cluster through your code.
Connect to an AnalyticDB for MySQL 2.0 cluster using a client.
Connect to a 2.0 cluster through code
You can connect to a 2.0 cluster using Java, PHP, Python, C#, or Druid.
Connect to a 2.0 cluster using a client
You can connect to a 2.0 cluster using a client such as MySQL Workbench, DBVisualizer, or Navicat for MySQL.
Connection details
To connect to a 2.0 cluster, obtain the following information.
Endpoint and port
Log on to the AnalyticDB for MySQL console. In the Connection Information section, view the endpoint and port. To connect from the internet, use the classic network connection string. To connect from an internal network, use the VPC connection string.
Username and password
The username and password are the AccessKey ID and AccessKey Secret of your Alibaba Cloud account or RAM user. To obtain an AccessKey, see Obtain an AccessKey ID and AccessKey Secret.