MySQL Forums
Forum List  »  Install & Repo

Re: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
Posted by: tom tom
Date: November 01, 2005 05:11PM

Ok, 4get about MyAdmin. Here's a simple solution for this bloody problem:
Say, your
password that you had set up for a particular database is: password
your username: username
and host: localhost

1)
Click on start
2)
Programs
3)
MySQL---MySQL server
4)
Command line
5)
Log in with your root password (in my case: tom)
6)
type this:
SET PASSWORD FOR username@localhost = OLD_PASSWORD('password');
obviously use your details that you had set up.
7)
close MySQL
8)
reopen it
9)
try PHP connecting script
10)
It works!!!!
Someone asked up there how to set this up so you don't need to be repeating this procedure each time u want to connect to MySQL. You will not have to! It is enough to do this once.
If it still doesn't work, mail me on tom26pr@yahoo.com

later.


Thank you folks for the hints above above!!! I was about to bang the heel out of my walls using my head!!!

Options: ReplyQuote


Subject
Written By
Posted
December 31, 2005 12:02AM
December 31, 2005 02:28AM
March 29, 2006 03:12AM
March 24, 2007 02:58PM
January 03, 2006 07:48AM
March 16, 2006 10:03AM
November 02, 2005 07:38AM
January 16, 2006 03:46PM
July 24, 2006 07:40AM
March 28, 2006 11:18PM
August 23, 2006 01:21PM
Re: "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client"
November 01, 2005 05:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.