MySQL 4.1 and up uses an authentication protocol based on a passWord hashing algorithm that is incompatible with that used by older clients. If you upgrade the server to 4.1, attempts to connect to it with an older clIEnt may fail with the following message:
shell> mysql ClIEnt does not support authentication protocol requested by server; consider upgrading MySQL clIEnt
To solve this problem, you should use one of the following approaches:
SET PASSWord
statement and the OLD_PASSWord()
function: MySQL> SET PASSWord FOR -> 'some_user'@'some_host' = OLD_PASSWord('newpwd');Alternatively, use
UPDATE
and FLUSH PRIVILEGES
: