Your Webhosting Questions
Answered by the Webhosting Experts
Tags
...
...

Fix the MYSQL ERROR: Client does not support authentication protocol

Solution

This error is encountered by both scripts and applications, that are unable to use the new
authentication protocol introduced by MySQL 4.1.x. The only real fix for this, would be to
update your code. There is however a workaround, that can be implemented.

You will need to edit your MySQL configuration file (my.cnf on Linux) to turn old-passwords
on. This will allow hosts using the old protocol to connect.

Open your configruation file, and underneath the [mysqld] section, place old-passwords on
a line by itself. Then just restart your MySQL server.

On Windows, you will need to edit your mysql.ini (mysql configuration file) to contain the following
line:

Under [MYSQLD] put:

set_variable = old_passwords=1

This should now all your old scripts to connect.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +
...