MySQL Forums
Forum List  »  Install & Repo

Re: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
Posted by: Gheorghe Iuga
Date: February 15, 2005 12:20AM

I have been searching all over the internet for a solution to this problem.
What i have found and it seemed to work for me is this:

http://www.phplivesupport.com/documentation/viewarticle.php?aid=72
-------------------------------------------------------------------------------------------------------------------
mysql_connect(): Client does not support authentication protocol

SUMMARY

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client ...
Could not connect: Client does not support authentication protocol requested by server; consider upgrading MySQL client

INFORMATION

As of MySQL 4.1 there is a new authentication protocol. This authentication protocol is only supported by PHP 5 or higher.

So what you need to do is upgrade your PHP engine to PHP 5 or higher.

NOTE: We have found that PHP 5.0.2 (on Windows) comes with the 3.23.x client API. Try... PHP 5.0.3 for MySQL 4.1.x
-------------------------------------------------------------------------------------------------------------------

Please note that the PHP 5.0.3 Windows Installer comes with NO EXTENSIONS
Wich means that you'll either have to compile the binaries or to manualy install PHP from PHP 5.0.3 zip package.
Or, go down with MySQL to MySQL 4.0 wich seems to be unsing the old protocol.

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
Re: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
February 15, 2005 12:20AM
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


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.