To change the root password i connected to mysql: bin/mysql
mysql>connect mysql localhost
mysql>UPDATE user set Password='***' where User='root';
->No problems
mysql>SELECT User,Password FROM user;
-> to verify if the pass was set... it was.

then i stopped mysql and restart it and it was impossible connecting
again. here is the detailed result :

Linux>bin/mysql -u root -p
Enter password : ****
mysql >use mysql
Database changed
mysql>SELECT * FROM user;
ERROR 1044:Access Denied for user: '@localhost' to database 'mysql'
ERROR:
can't connect to the server


sure,i made mistakes, but now how can i recover my Mysql  ?





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to