MySQL versions >= 4.1 use a new, more secure authentication protocol. Probably 
the version of PHP you are using does not support it.

Ah, here it is:
http://dev.mysql.com/doc/refman/5.0/en/password-hashing.html

HTH,
James Harvard

At 1:18 pm -0600 29/1/06, Philip R. Thompson wrote:
>I just installed MySQL5 and currently have PHP 4.3.11 installed. I
>am wanting to connect to the mysql database on localhost, but I
>get the following results:
>
>----------
><?  $link = mysql_connect('localhost', 'user', 'password');  ?>
>"Client does not support authentication protocol requested by
>server; consider upgrading MySQL client"
>----------
>
>Well, I have the lastest stable version of MySQL, so I did some more
>research on what the problem might be. When I checked my
>information for PHP using phpinfo(), it gave me the "Client API
>version" for MySQL was 3.23.49. So, I'm thinking my version of PHP
>cannot connect to my version of MySQL. I then considered if I
>installed the MySQLi extension for PHP (supports versions of MySQL
>> 4.1), would that help me? Or, if I just upgraded PHP to version 5,
>would that help me?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to