Cara Reset Password root MySQL di Ubuntu
1 2 3 4 | sudo /etc/init.d/mysql stop sudo mysqld --skip-grant-tables mysql -u root mysql UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit; |
1 2 3 4 | sudo /etc/init.d/mysql stop sudo mysqld --skip-grant-tables mysql -u root mysql UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit; |