Press enter to see results or esc to cancel.

9 adımda mysql root şifresi sıfırlama

1. systemctl stop mysql
2. mysqld_safe --skip-grant-tables &
3. mysql -uroot 
4. use mysql;
5. UPDATE mysql.user SET Password=PASSWORD('yeni_sifre') WHERE User='root';
6. FLUSH PRIVILEGES;
7. exit;
8. mysqladmin -u root -p shutdown
9. systemctl start mysql

Bitti.