For users who may wish to access a MySQL database from a remote location. You need to know the basics that MySQL uses port 3306. It is assumed that you already have a database under your cPanel hosting account. To ensure you can connect remotely you will also need to add the relevant Access Host.
Now, you have to grant permissions for this click on “MySQL database” icon under cPanel. When you scroll down you will see heading “Access Host” the default host is “localhost” which you can see over there. In the box there you can add the IP address that you want to allow connection from.
If you want all IP addresses within a range to work you can use a wildcard (%) symbol, for example:
192.168.1.% will allow any user from 192.168.1.1 to 192.168.1.255 to connect.
The wildcard symbol on its own will allow any user to connect, assuming that they have the username and password for a database.
That’s it!
This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.



