MySQL Forums
Forum List  »  Install & Repo

SOLUTION: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
Posted by: Fernando Cabal
Date: November 07, 2005 10:55PM

Just in case you need the syntax to reset the user password to the old format in order to avoid the missleading "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client" error message whe your php code tries to connect to a database and the password for the user was stored using the new 4.1 password format and you have not configured the /etc/php.ini properly


mysql> SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');


Fernando
http://www.interteldepot.com
Cheap Domains & Hosting solutions

Options: ReplyQuote


Subject
Written By
Posted
December 31, 2005 12:02AM
December 31, 2005 02:28AM
March 29, 2006 03:12AM
March 24, 2007 02:58PM
January 03, 2006 07:48AM
March 16, 2006 10:03AM
November 02, 2005 07:38AM
January 16, 2006 03:46PM
July 24, 2006 07:40AM
March 28, 2006 11:18PM
August 23, 2006 01:21PM
SOLUTION: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
November 07, 2005 10:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.