How to connect mysql database remotely

If you are connecting to database from outside computer.
you have to allow your ip address for mysql remote access.

Please see your ip here:- https://www.whatismyip.com/

note down that ip address.

Login to your cPanel.
Locate the Databases section.
Under Databases section locate Remote MySQL option and and click on it.

In the next screen, enter the hostname or IP address that you want to grant remote MySQL access to and click the Save button.
If your IP address changes regularly, you can use wildcard by using the % symbol.



  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Filezilla Error: Failed to retrieve directory listing

If you are having trouble to connect via ftp using filezilla. here is the quick solution.Connect...

Powered by WHMCompleteSolution