MySQL Forums
Forum List  »  Newbie

Re: error
Posted by: John Winter
Date: June 14, 2005 09:00PM

Hello,

It is because you are trying to connect to a 4.1 server with a pre-4.1 client. To resolve this issue you have to do the following:

1.) Start the server with the --old-passwords option. To do this start the server by typing mysqld --old-passwords, or add old-passwords to the [mysqld] section in the my.ini file and restart the service.

2.) Reset the user password with this query, update mysql.user set password = password('newpassword') where user = "username";

3.) flush privileges


http://dev.mysql.com/doc/mysql/en/password-hashing.html

Options: ReplyQuote


Subject
Written By
Posted
June 13, 2005 03:29PM
Re: error
June 14, 2005 09:00PM


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.