Unable to connect to database

If you are getting error messages in scripts please be sure that you have created a user in the cPanel MySQL hosting tool and that you have added the user to a database.  This must be done after the database is created to allow access to it.

When a script needs database details, they will be of the form:

yourcpanelusername_databasename

yourcpanelusername_mysqluser