Kamis, 01 April 2021

Cara Reset Password root MySQL di Ubuntu

Tags

 




Cara Reset Password root MySQL di Ubuntu :

  1. Masuk ke Root Ubuntu
  2. sudo /etc/init.d/mysql stop
  3. sudo mysqld --skip-grant-tables
  4. mysql -u root mysql
  5. UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='roor';
    FLUSH PRIVILEGES;
    Exit;

Artikel Terkait


EmoticonEmoticon