Knowledgebase: Programming Questions
What do I do when I get "mysql_connect(): Client does not support authentication protocol requested by server" warning
Posted by Tan Fang Wai (Import) on 06 March 2007 05:34 AM
If you are getting such errors as

"Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in XXX line 7

Could not connect: Client does not support authentication protocol requested by server; consider upgrading MySQL client"

Such warning messages are due to the new encryption method used by MySQL 4.1 and above.

To solve this run the SQL command :

set password for username@localhost = old_password('password');

Substitute username and password for your own.
(1444 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Resolve