Guest User

Untitled

a guest
Feb 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. service mysql stop
  2. service mysql start --skip-grant-tables
  3. mysql
  4.  
  5. UPDATE mysql.user SET password=PASSWORD('whateverpassword')
  6. WHERE user='root' and host='localhost';
  7.  
  8. service mysql restart
  9.  
  10. mysql -uroot -p
Add Comment
Please, Sign In to add comment