Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  129 Posts | 0 Stories | 857 Comments | 755 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

This seems to be quite a common error for many people installing PhpMyAdmin for the first time.

The phpmyadmin (pma) docs mention it - basically stating that the mysql client is out of date.

In the past I've solved this by updating my version php, and also by using the manual install as the windows installer package uses (well it used to) an old version of the mysql client library.

However today I discovered a simple workaround here  (thanks a million to Ram Prasad who posted it!!!!) - and what a simple solution it is!  Just run the following SQL to reset your password:

SET PASSWORD FOR user@localhost = OLD_PASSWORD('password');

Tim

 

 

posted on Monday, October 31, 2005 6:39 AM

Feedback

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 11/24/2005 2:00 PM abdullah
very nice.. worked perfectly. dont forget to replace 'password' with your correct password

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 12/18/2005 7:43 PM E
Thanks !! :)
phew..
E

# เปิดไม่ติด 12/20/2005 5:58 AM pang's personal blog

??????????????? ??????????????????? ???????????????????(????????? power supply, mainboard)CPU 1.8GHz Gigabyte ??????

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 3/18/2006 10:06 AM Ram Prasad
That was me who posted it :-) thanks for linking to my article.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 4/28/2006 7:57 AM Graz
Excellent - most useful piece of online help I've seen this year.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 10/17/2006 1:07 PM ugur
Saved a life beyon a lot of time!!! Thanks.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 10/21/2006 4:24 AM Joe Pellicer
Yessssss!!! thank you Tim and Ram Prasad!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 11/16/2006 10:27 AM bikemike
Don't forget to modify your pma user password, if you created the user on MySql, and have the feature enabled. I found phpMyAdmin would not start until I old_passworded that user too, just root user was not enough.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 12/22/2006 9:24 PM Patrick
You are a GOD!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 1/16/2007 12:59 AM Web Dude
How do you get mysql command prompt in 5.0 on win 2003 server?

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 1/19/2007 5:20 AM SQL client
THANK YOU SO MUCH! This was honestly the best..most helpful information I have found on the internet in a long while.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 3/19/2007 9:09 AM Monsy
Many thanks for your precious sugession.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 4/10/2007 4:02 PM Tran Phong
Nothing can be said greater :-). Thank Tim very much

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 4/17/2007 9:57 AM Ram Prasad
Here is the updated link the article:

http://www.megalinux.net/archives/463.html

- Ram

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 4/30/2007 1:26 PM Minimoi
Thank you, just simple, but very usefull

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 5/31/2007 2:40 PM gev
ok im completely new to php and mysql and am trying to learn this

i bought a server on godaddy.com and made a mysql database

and when i try to connect, using the following code:

<?php
// Connecting, selecting database
$link = mysql_connect('theserveripaddress', 'myusername', 'mypassword')
or die('Could not connect: ' . mysql_error());
echo 'Connected successfully';
mysql_select_db('mydatabase') or die('Could not select database');
?>

it gives me this error:

Could not connect: Client does not support authentication protocol requested by server; consider upgrading MySQL client


plz tell me what my code needs to be in order for it to work.

the MySQL is version 5.0

i dont know what else to do

help plz

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 6/17/2007 7:12 PM Ava
I have done the same thing Have you had any luck fixing this yet?

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 6/24/2007 9:02 PM James
This did not help in any way

I've got MySL 5 with PHP 4 on windows 2003 and the error is coming up when installing a PHP forum or trying to access phpmyadmin

PHP is fine on this machine and we have SQL 2000 as a database backend which is fine as well.

No matter what I try (read plenty of articles) I cannot get around this error. The SQL old password statement does not help!!!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 8/4/2007 12:31 AM giri
Hi....Tim and Ram


Really i have no words to make cheers...
i fought with that problem for around 2 days as i am new.....but finally U Masters are solved my problem and made my confidence to high...Thanku SOOOO much...

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 8/14/2007 9:09 AM balamurugan
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/indiarea/public_html/eknazar/common/config.php on line 118
can not connect to database

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 8/31/2007 2:07 AM wahhouche
Bonjour,

Mes amis j'ai le même problème:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\www\projets\FirstSite\select2.php on line 6
Connection impossible .

et voici mon code source:

<?php
$host = "localhost";
$user = "nabil";
$password = "nabil";
$database = "formations";
$conn = mysql_connect($host,$user,$password);
if (!$conn) {
echo "Connection impossible\n";
exit;
}
$result = mysql_db_query("database","select * from user;");
if ($result > 0) {
while($row = mysql_fetch_array($result)) {
echo $row["nom"] . $row["prenom"] . "\n";
}
}
mysql_close();
?>




je travail sous windows, Php 5 et MySQL 5.

Vous avez une soulution?




# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 10/22/2007 3:15 AM Mike
Same problem. This doesn't work for me.

I do the SET PASSWORD FOR root@localhost = OLD_PASSWORD('mynewpwd');

and i get:

Query OK, 0 rows affected (0.02 sec)


# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 11/13/2007 7:20 PM Ram Prasad
Refer again: http://www.megalinux.net/2005/09/phpmyadmin---cl.html

you have set password for root . it should be the user who is actually running the query (user@localhost or user@server)

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 12/5/2007 7:48 PM Dan
A two year old posting that's still helping. Thanks!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 12/26/2007 6:26 PM Yehuda
U R AMAZING, PERFECT, QUICK, EASY!!!!!! THANX A MILLION, U JUST SAVED ME TENS OF HOURS MORE OF DIGGING INTO THIS PROBLEM, I BLESS U.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 1/1/2008 12:07 AM noister
i got an error when i run this query.

QUERY: SET PASSWORD FOR myuser@myhostname = OLD_PASSWORD( 'mynewpassword' )

ERROR: #1044 - Access denied for user 'myuser'@'%' to database 'mysql'

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 1/7/2008 11:18 AM xhiena
you need to be root to launch the query.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 1/17/2008 11:46 AM Le
Many thanks!!!!!!!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 2/13/2008 8:22 AM toomanyfingers
Warning: mysql: User unable to reach the IQ level requested by a computer: consider using Excel instead.

Joke aside: this helped me a lot with PHP4.4 & MySQL5
Thanks!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 2/18/2008 2:00 PM Earl
I would like to know why this is happening in the first place?

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 3/12/2008 4:54 AM atreju
My grain of sand here:

If you see this problem using phpMyAdmin, and you have a Headache trying to configure "congi.inc.php" in root or config folder. After you put this useful line direct in your MYSQL "SET PASSWORD FOR user@localhost = OLD_PASSWORD('password');" go to /libraries and configure your user and pass direct there.

:)

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 3/25/2008 12:10 AM Raji
Thanks. Perfect

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 5/4/2008 8:24 AM MaryK
Thanks a bunch!!!!! Was getting ready to throw the PC out the window!!!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 5/4/2008 9:24 PM Abdullah Al Mamun
user name is 'test'
and pwd is '1234'
show this message
"Client does not support authentication protocol requested by server; consider upgrading MySQL client "

please help me.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 5/18/2008 10:48 AM agallers
Make sure to:
1) replace "user@localhost" with just the user name (do not append @localhost"
2) replace the text that says password with your password


SET PASSWORD FOR user@localhost = OLD_PASSWORD('password');

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 5/22/2008 12:41 PM Brian
Thanks so much!! Worked perfectly with the extended help of agallers, above!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 5/23/2008 5:46 AM Sol
I had problems with this as well, and I changed from a Windows based server to a Linux based, and everything was fixed. Usually hosting companies will allow you to change without any additional charges.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 6/7/2008 7:42 AM Dave
A quick note:

After using the OLD_PASSWORD trick, you need to reload the user info with:

FLUSH PRIVILEGES;

I'm guessing that's why it isn't working for a number of you.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 7/2/2008 7:09 PM Jorge Batista
Thanxs!!! Muchas Gracias!!!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 7/10/2008 9:10 AM Ciir
Thanks! It worked Woohoo!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 8/11/2008 10:32 AM Devang Tanna
SET PASSWORD FOR tannadevang = OLD_PASSWORD( 'myoldpassword' )

change myoldpassword with your password.

It worked for me, thanks a lot who posted this solution

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 9/3/2008 4:36 AM Vibs
Thank you, saved me the headache!

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 9/19/2008 12:09 PM astrit
Thanks a bilion to you Tim, it's about 2 after midnight and finaly you answer saved me :).

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 10/15/2008 8:27 AM Sree Raj.
THanks!!!!. Worked like a charm.

# re: PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client 10/16/2008 4:18 AM Paul
Hello

I get this same failure when trying to set up a MySQL connection using Dreamweaver MX 2004. My hosting service uses CPanel with phpMyAdmin and MySQL. I have tried using the SQL code but it doesn't seem to work.

I am a total noob when it comes to MySQL and PHP. When you say user@localhost, is that literally what I type or should I replace them with an actual username and host address? If so where do I get these from?

Sorry if this sounds stupid but I have no experience with this kind of thing, I've spent days trying to work it out and I'm literally losing my mind!

Thanks

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 3 and 6 and type the answer here: