How to connect to the MySQL server

Configuration Settings:
Host = localhost (really, 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.

It is possible for someone to use their cPanel username and password to connect to the database. However, we NEVER recommend doing this because the first time you change or reset your cPanel password, then your databases will stop working.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create/edit/delete a file using the File Manager

There may be times when you wish to create, edit, or delete a file or folder in your account....

How to upload a file using the File Manager

You may want to upload your files directly through cPanel. You can do this through the File...

How to navigate through File Manager

How to navigate through File Manager File Manager is an quick and easy way to navigate through...

How do I create a MySQL database, user, and then delete if needed?

Create: If you are using any type of PHP software or keeping a collection of records which need...

How to park a domain on an addon domain

cPanel has yet to offer this option although it can be done. In order to park a domain on...