For Linux VPS customers check out an article to allow remote connections to MySQL server via WHM. Windows VPS customers should refer to this article to allow remote connections to MySQL server. Once you allow remote connections to your MySQL server, follow these steps.
- Open MySQL Workbench. Click on New Connection link located at the bottom left. This will open Setup a New Connection dialogue box.
- In this dialogue box, type database credentials as follows.
- Connection Name: Name the connection as you wish.
- Connection Method: Standard (TCP/IP).
- Hostname: MySQL server IP address.
- Port: 3306
- Username: database username
- Default Schema: Keep it blank.
- Click on Test Connection.
- Type your password and check Save Password in Vault check box. Click OK.
- If connection details are correct, MySQL Workbench will give message Connection parameters are correct. Click OK.
- Click OK to accept the connection settings.
- Under SQL Development section you will see newly created connection listed. Click on connection to connect.