Configuring Remote MySQL Access

Log in to your O3 Host Client Area.

Login into Control Panel via Client area.

Scroll down to the Web Tools section and click on the Remote MySQL Access Icon.

Under Add Access Host, choose the database user you want to connect to remotely from the dropdown menu.

Enter the IP address from which you'll be connecting. The current IP address is added automatically, but you can customize it or use % as a wildcard to whitelist all IP addresses.

Click Add Host

Your remote MySQL credentials have now been created. Remember, for remote connections, always use mysql.gb.stackcp.com as the hostname, not the standard database hostname.

Connecting with MySQL Workbench

Open MySQL Workbench and go to the Database menu.

Select Manage Connections and provide a name for your connection in the 'Connection Name' field.

In the Hostname field, enter "mysql.gb.stackcp.com."

Enter the port number generated on the Remote SQL Access page in O3 Host control panel.

The username is the database name, which can also be found on the same O3 Host control panel page.

Add the database password to MySQL Workbench by clicking Store in Vault.

Click Test Connection to ensure everything is configured correctly. You should see a success message.

Was this answer helpful? 0 Users Found This Useful (0 Votes)