Bug #32483 | [root@localhost:3306] ERROR 1251:Client does not support authentication protocol | ||
---|---|---|---|
Submitted: | 18 Nov 2007 18:39 | Modified: | 19 Nov 2007 19:05 |
Reporter: | arun kumar | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | mysql server 4.1.22 win32 | OS: | Windows (xp sp-2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | MySQL, php |
[18 Nov 2007 18:39]
arun kumar
[18 Nov 2007 20:37]
Peter Laursen
an extract from: http://webyog.com/faq/content/23/58/en/error-no-1251-client-does-not-support-authenticatio... Error no. 1251: "Client does not support authentication protocol requested by server - consider upgrading MySQL client" occurs when the hashing-method for storing password used by the client differs from the one of the server. Typically it occurs when trying to connect to MySQL 4.1 or 5.x with a client compiled for 3.x or 4.0. MySQL explains here: http://dev.mysql.com/doc/mysql/en/old-client.html .... SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd'); Note what is here UPPERCASE must be written litterally as here. .... So basically: use a client (like PHP binary) built with a client code that 'fits' the server! If for ssome reason you need to use an older client you can 'downgrade' the user to use the old password hash as described. (written by a non-mysql person)
[19 Nov 2007 5:10]
Valeriy Kravchuk
This is not a bug. See Peter's detailed explanation above.
[19 Nov 2007 19:05]
arun kumar
This forum iz dam cool man, my error was solved in no time with d help of peter-laursen & valeriy kravchuk u guys are awesome.... thankx aloooot loads of..