# service mysqld stop
or
#killall mysql
2..mysqld_safe --skip-grant-tables
3.Access mysql without password
4.Create new mysql root password :
4.killall mysqldUPDATE mysql.user SET Password=PASSWORD('YOUR-NEW-MYSQL-PASSWORD') WHERE User='root'; FLUSH PRIVILEGES;
5.service mysqld start
Nguyen Si Nhan
No comments:
Post a Comment
Thanks for your join,we will be reply to you asap.