Advertisement
Guest User

Untitled

a guest
Jan 8th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. 1. Stop the MySQL Server.
  2. sudo /etc/init.d/mysql stop
  3.  
  4. 2. Start the mysqld configuration.
  5. sudo mysqld --skip-grant-tables &
  6.  
  7. 3. Login to MySQL as root.
  8. mysql -u root mysql
  9.  
  10. 4.Replace YOURNEWPASSWORD with your new password!
  11. UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement