MySQL Database Connection, CakePHP

taonthetrack

Registered
Mar 11, 2014
3
0
1
cPanel Access Level
Website Owner
Hello everyone. I ran into a problem today working on my site. For some reason it won't connect to my database. It worked fine yesterday but then when I tried to work on it today it threw an error at me. I'm using CakePHP.

"The database server returned this error: SQLSTATE[HY000] [1045]"

I didn't make any changes so I'm not sure why this is happening.

Thanks for the help.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Hello :)

Make sure you are using the database username/password and not the cPanel username/password for authentication. Also ensure that the user is added to the database. You may want to contact your web hosting provider if the issue persists and you do not have root access to investigate further.

Thank you.