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

By: Emiley J. Emailed: 1696 times Printed: 2196 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

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.

MySQL Home | All MySQL Tutorials | Latest MySQL Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.



Bookmark and Share

Comments(0)


Be the first one to add a comment

Your name (required):


Your email(required, will not be shown to the public):


Your sites URL (optional):


Your comments:



More Tutorials by Emiley J.
Error generating R.java from manifest
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
IIS and Tomcat - how to configure to work together
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php4/lib/php/extensions/no-debug ......
Adding your own Application icon for your J2ME application (jar file)
Creating Menus in Code using VB.net
Traversing all files in a directory using Ruby
Using Proxy to connect to URLs in Ruby
POST a form in Ruby
Reading URL content using Ruby (HTTP)
dRuby client/server mode sample program
Benchmark module in Ruby
encoding and decoding in Ruby using Base64 Module
Module Abbrev in Ruby
Standard Library Packages in Ruby

More Tutorials in MySQL
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access them.
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Changing the Structure of an Existing Table in MySQL
Inserting Data into Tables in MySQL
Querying the Database in MySQL
Modifying data and using WHERE clause in MySQL
Deleting Data in MySQL
What is SQL Injection
MySQL Strengths and Weaknesses
Table __________ is marked as crashed and should be repaired.

More Latest News
Most Viewed Articles (in MySQL )
What is SQL Injection
MySQL Strengths and Weaknesses
Changing the Structure of an Existing Table in MySQL
Inserting Data into Tables in MySQL
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access them.
Table __________ is marked as crashed and should be repaired.
Querying the Database in MySQL
Modifying data and using WHERE clause in MySQL
Deleting Data in MySQL
Most Emailed Articles (in MySQL)
What is SQL Injection
MySQL Strengths and Weaknesses
Modifying data and using WHERE clause in MySQL
Table __________ is marked as crashed and should be repaired.
Querying the Database in MySQL
Deleting Data in MySQL
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access them.
Changing the Structure of an Existing Table in MySQL
Inserting Data into Tables in MySQL
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client