Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Query OK, 0 rows affected (0.00 sec)
  2. Rows matched: 1 Changed: 0 Warnings: 0
  3.  
  4. FLUSH PRIVILEGES;
  5.  
  6. sudo /etc/init.d/mysql stop
  7.  
  8. sudo mysqld --skip-grant-tables &
  9.  
  10. mysql -u root mysql
  11.  
  12. UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement