What is your MySQL hostname?

The MySQL hostname is localhost.

If you are trying to connect to MySQL from a remote location (for example from your computer), please use these instructions:

  • Use the IP address of your hosting account as your MySQL hostname. Your IP address can by found on the left hand column when you login to cPanel.

  • Please add your computer IP address to the cPanel -> Remote MySQL section. You can check the computer IP address at http://www.tracemyip.org/

  • Use either the MYSQL username / password that was created in cPanel -> MYSQL section, or your cPanel login details to connect to the database.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How do I enable auto upgrade of Softaculous scripts?

Login to your cPanel account and head over to Softaculous 1. When doing a install, under...

Why do I get "access denied" errors when trying to connect to MySQL?

If you cannot connect to the MySQL server, this might happen due to several reasons:...

What are "Cannot connect to database" errors?

This error will occur when any of the following exist: The database username is incorrect The...

Can I have custom error pages?

Yes, you can set up your own custom error pages by using the .htaccess file (it is located in...

Powered by WHMCompleteSolution