ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client

By: Emiley J. Viewed: 171 times  Printer Friendly Format    


While trying to remotely login to your MySQL server if you are getting this error: ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client then it means that you are still using mysql 4.1 or older versions on your computer while the MySQL server that you are connecting to is of higher version.

It is easy to solve this issue though.

First goto the MySQL Server machine or if it is not accessible, then SSH or remote desktop to the server machine.

Next in that server, login to your server locally and reach the mysql prompt.

Then run this command

SET PASSWORD FOR 'username'@'IPordomain' = old_PASSWORD('userpassword');

Here replace username with your username and replace IPordomain with the IP from which you will be logging in later. Then replace userpassword with your password.

That's it. You can now login again from your PC. What you just did is to let MySQL server know that you are still using the old password hashing mechanism for that particular user.


Most Viewed Articles (in MySQL )

Latest Articles (in MySQL)

Comment on this tutorial

Subscribe to Tutorials

Related Tutorials

Archived Comments

1. FUNCIONA!!!
View Tutorial          By: Davidson at 2011-11-25 04:01:52

2. Quincy
View Tutorial          By: business marketing solutions at 2012-07-26 10:31:13

3. Geri
View Tutorial          By: internet tablet at 2012-07-29 15:45:28

4. Evelyn
View Tutorial          By: jailbreak iphone 4 at 2012-08-02 13:49:37

5. Lorraine
View Tutorial          By: capacitive screen at 2012-08-02 22:39:35

6. Kristy
View Tutorial          By: best snoring mouthpiece at 2012-08-13 18:28:24

7. Wade
View Tutorial          By: jeu de at 2012-08-25 14:29:23

8. Charla
View Tutorial          By: numerologie at 2012-08-26 05:13:38

9. Paulina
View Tutorial          By: Shonda Sparlin at 2012-08-31 00:18:49

10. Muhammad
View Tutorial          By: Muhammad at 2012-10-15 07:24:08

11. Magnificent blog. Plenty of useful information her
View Tutorial          By: Troy at 2016-12-31 01:19:43

12. uyadijisayo
View Tutorial          By: uyadijisayo at 2017-01-28 06:18:55

13. uvonivisap
View Tutorial          By: uvonivisap at 2017-01-28 06:35:42

14. ubijuhpuqa
View Tutorial          By: ubijuhpuqa at 2017-01-28 07:38:33

15. apouupi
View Tutorial          By: apouupi at 2017-01-28 13:46:00