Overview
You can connect to a GaussDB(for MySQL) instance through Data Admin Service (DAS), a private network, a public network, or JDBC.
Connect Through |
Connection Address |
Description |
Comments |
---|---|---|---|
Not required |
DAS enables you to manage GaussDB(for MySQL) instances from a web-based console, simplifying database management and improving efficiency. By default, you have the remote login permission. It is recommended that you use DAS to connect to the instances because this connection method is more secure and convenient than other methods. |
|
|
Private IP address |
A private IP address is provided by default. When your applications are deployed on an ECS that is in the same region and VPC as your GaussDB(for MySQL) instance, you are advised to connect the ECS to the instance over a private IP address. |
|
|
EIP |
If you cannot access your GaussDB(for MySQL) instance over a private IP address, bind an EIP to the instance and connect it to the ECS (or a public network host) over the EIP. |
|
|
Private IP address or EIP |
JDBC is used to access GaussDB(for MySQL) instances. |
- |
- VPC: indicates the Virtual Private Cloud.
- ECS: indicates the Elastic Cloud Server.
- You can log in to a DB instance using DAS or other database clients.
- If an ECS is in the same VPC as your GaussDB(for MySQL) instance, you do not need to apply for an EIP.
- If you are using GaussDB(for MySQL) for the first time, see Constraints.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot