MySQL user pass not recognized after upgrade php to 5.4

cosmin

Well-Known Member
Feb 6, 2002
154
1
318
Bucuresti
Hello!

I upgrade php to 5.4 for all servers and many many sites can't connect to mysql becouse mysql's user didn't recognize the password.

If I’m going in WHM/Change MySQL User password and I change the pass for user “cpaneluser_user” with the same password will work, can connect to MySQL. Without this password reset didn’t work and I receive "Error establishing a database connection".

Any help please?

Thank you!
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

What version of MySQL is installed on your system? Do you have an entry for "old_passwords" in your /etc/my.cnf file? Were these MySQL passwords originally created on a MySQL environment prior to 4.1?

Thank you.