What is my Database Name and Host Name?

November 12th, 2009

If you are using a PHP or Perl script that connects to a MySQL database, you may need to specify your database name and database host name.

Configuration Settings:

Host = localhost
Database name = (cpanelusername_databasename)
Database username = (cpanelusername_databaseusername)
Database password = (******)

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.

Leave A Comment