Database connection error
Support
Last Update 4 years ago
Your MySQL database username and password is your cPanel username and password. Have you recently changed your cPanel password?
Please check your script config file.
You can use a MySQL database with your PHP scripts. You need to make a database first in your MySQL databases section of your cPanel. Then use your SQL server hostname, which is listed on the left sidebar in cPanel, and cPanel username / password / and database name in your script installation config file.
Note: on free hosting the MySQL server host name is NOT localhost, you need to lookup the host name in cPanel!