Останавливаем MySQL:
service mysql stop
Далее выполняем от root:
mysqld_safe --skip-grant-tables &
Затем:
mysql -u root
use mysql
update user set password=PASSWORD("superpassword123") where User='root';
flush privileges;
quit
service mysql start
Останавливаем MySQL:
service mysql stop
Далее выполняем от root:
mysqld_safe --skip-grant-tables &
Затем:
mysql -u root
use mysql
update user set password=PASSWORD("superpassword123") where User='root';
flush privileges;
quit
service mysql start