Configure MySQL Workbench
NOTE: This section assumes that you have downloaded and installed MySQL Workbench.
To connect to your remote MySQL database server using MySQL Workbench, you have to allow remote connections to the server.
Once your MySQL server is configured to accept remote connections, you can connect to it using MySQL Workbench. Follow these steps:
-
Launch MySQL Workbench.
-
Click the “+” symbol in the “MySQL Connections” tab to add a new connection.
-
Configure the connection as follows:
-
Click “Test Connection” to test the connection.
-
If the connection is successful, click “OK” to save the connection.
-
Double-click the new connection to launch the MySQL Workbench SQL Editor. You may be prompted for a password. Use the same password you used when previously configuring the server to accept remote connections. Once connected, the SQL editor window will open and you can interact with the server using SQL commands, as shown below: