Connecting to a DB Instance from a Windows Server
You can connect to your DB instance from a local Windows server with a database client (for example, MySQL-Front) installed over a public network.
- Step 1: Test Connectivity and Install MySQL-Front
- Step 2: Connect to the DB Instance Using MySQL-Front
Step 1: Test Connectivity and Install MySQL-Front
- On the Instances page of the RDS console, click the DB instance name.
- Choose Connectivity & Security from the navigation pane. In the Connection Information area, obtain the EIP and database port of the DB instance.
Figure 1 Connection information
If no EIP has been bound to the DB instance, see Binding an EIP.
- Open the cmd window on your local server and check whether the EIP and database port of the DB instance can be connected.
- If yes, network connectivity is normal.
- If no, check the security group rules.
Check inbound rules in the security group of the DB instance. Add an inbound rule to allow the EIP and port of the DB instance. For details, see Configuring Security Group Rules.
- Open a browser, and download and install the MySQL-Front tool locally (version 5.4 is used as an example).
Step 2: Connect to the DB Instance Using MySQL-Front
- Start MySQL-Front.
- In the displayed dialog box, click New.
Figure 2 Connection management
- Enter the information of the DB instance to be connected and click Ok.
Figure 3 Adding an account
Table 1 Parameter description Parameter
Description
Name
Name of the database connection task. If you do not specify this parameter, it will be the same as that configured for Host by default.
Host
EIP obtained in 2.
Port
Database port obtained in 2. The default value is 3306.
User
Name of the user who will access the DB instance. The default user is root.
Password
Password of the account for accessing the DB instance.
- In the displayed window, select the connection that you have created in 3 and click Open. If the connection information is correct, the DB instance will be connected.
Figure 4 Opening a session
Follow-up Operations
After logging in to the DB instance, you can create or migrate your databases.
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