— /etc/init.d/mysql stop
– mysqld_safe –skip-grant-tables &
– mysql -u root
mysql> \u mysql
mysql> update user set password=PASSWORD(„NEW-ROOT-PASSWORD“) where User=’root‘;
mysql> flush privileges;
mysql> quit
restart mysql and all is done 🙂
— /etc/init.d/mysql stop
– mysqld_safe –skip-grant-tables &
– mysql -u root
mysql> \u mysql
mysql> update user set password=PASSWORD(„NEW-ROOT-PASSWORD“) where User=’root‘;
mysql> flush privileges;
mysql> quit
restart mysql and all is done 🙂