What Will Be The Host name for Mysql Database Connection

What Will Be The Host name for Mysql Database Connection


Configuration Settings:

Host = localhost (literally put localhost)
Database name = (cpanelUsername_databaseName)
Database username = (cpanelUsername_databaseUsername)
Database password = (******)

Note: When you move databases to our servers, the database name and username may change. This change must be updated in your script code. (The database name and username is clearly displayed in cPanel, in the MySQL area.)

On shared servers, the database user name cannot be changed to something without the cPanel user name in it.

Was this answer helpful?

 Print this Article

Also Read

Why i am getting "This site can’t be reached"?

If your site is showing "This site can’t be reached" like above images then the reason is - Your...

How to connect Mysql database remotely?

Yes you can access Mysql remotely using any Mysql connectivity Software . First of all you need...

I want to change my cPanel Password.

To change your cpanel password use the following steps. Login to Filetruth Client Area.Click on...

How to solve "500 Internal Server Error"?

Your site can show "500 Internal Server Error" because of the following reasons - Main Reason...

How To Change PHP Version For My Hosting

How To Change PHP Version For My Hosting To change the PHP version of your hosting is very easy...