Remote MySQL
Posted by David, Last modified by Ashley L on 21 November 2019 01:23 PM

You can allow external web servers to access your MySQL databases by adding their domain name to the list of hosts that are able to access databases on your web site. localhost stands for the server that your site is currently on.

Here are the steps:

  1. To access, click the words "Remote MySQL" on the main screen of your cPanel interface
  2. Type the name of the server into the blank field next to "Host:" (It should be in the following format: test.cpdocs.net, server1.cpdocs.com, ns1.cpdocs.com, etc)
  3. Click on "Add Host" to allows that server to access your MySQL databases

Troubleshooting: To add a group of servers, you can use %.domain.com which would include all of the following: ns1.domain.com, server1.domain.com, test.domain.com, etc.

 

(332 vote(s))
Helpful
Not helpful

Comments (0)