MySQL Host Name in your cPanel Hosting Account

Most common question is what is your MySQL Host name when you connect with the Database ?

It it "localhost"

Since your files and database is hosted on same server your MySQL hostname is localhost even it hosted on the server.

  • 43 Users Found This Useful
Was this answer helpful?

Also Read

How to setup MySQL database in your cPanel Hosting Account

This artical will guide you to Create new MySQL database and MySQL user in cPanel In cPanel...