MySQL 4.1 uses a new password hashing schema that translates passwords to a forty character hash instead of the previous version’s sixteen characters. If you upgrade MySQL and don’t rebuild PHP using the updated libraries, PHP applications won’t be able to authenticate properly. A quick (and temporary) fix, is to force MySQL to use the old password hashing schema until PHP can be rebuilt.
Add this to your my.cnf in the [mysqld] section:
old_passwords=1
More information on the MySQL site.
Popularity: 1%
{ 0 comments }