Problem solve Get help with specific problems with your technologies, process and projects.

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.

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 last published in June 2005

Dig Deeper on Linux servers



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.