Linux Recover MySQL root password
March31
#/etc/init.d/mysql stop
#mysqld_safe –-skip-grant-tables &
#mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD(‘passwd-baru’) where User=’root’;
mysql> flush privileges;
mysql> quit
#/etc/init.d/mysql stop
#/etc/init.d/mysql start
#mysq -u root -p