MySQL Forums
Forum List  »  Install & Repo

Other Solution : Re: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
Posted by: Frédéric LEROY
Date: February 20, 2005 11:47AM

It took me a while, but i found out another way of doing it and keeping the new authentication scheme : recompile php with proper client libs.

So when configuring php, i used the --with-mysql=/usr to use another lib than the one provided with php (from version 5 of php you HAVE TO do this since no std lib is provided)

In order to get this working make sure you have the mysql-devel rpm or some kinda stuff installed... Basically you need Mysql header files. The path /usr might be different depending on how you inalled mysql.

So then you make your php and use that new sapi. (I use apache2 and needed as well the apache2-devel stuff to compile php).

And the new .so is the right version with everything in order... no need to go back to old password stuff !

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


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.