Ask the Expert

MySQL error: Client does not support authentication...

I was installing php4.3.4.11 from FC2 CDs. I also installed MySQL 4.1.11. Now I have a problem; when connecting to MySQL via php I recieve this error:

client does not support authentication...."

In my phpinfo(); the version of mysql cilent was set 3.23.58, but when I want to upgrade it with the new one, "this package is already installed" was indicated. At first FC2 installed MySQL 3.23 for me, then I upgraded it.

    Requires Free Membership to View

Your copy of PHP was built using an older version of the MySQL client libraries that do not support the new password hashing algorithms used in MySQL version 4.1 and higher.

I answer this question on such a regular basis that I have a FAQ entry for it.

It details the cause and solution of the error you have encountered.

This was first published in June 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.