Guest User

Untitled

a guest
Oct 15th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. systemctl stop mysql
  2.  
  3. mysqld_safe --skip-grant-tables &
  4.  
  5. mysql -u root mysql
  6.  
  7. UPDATE user SET password=PASSWORD('password') WHERE user='root';
  8. FLUSH PRIVILEGES;
  9. quit
  10.  
  11. systemctl restart mysql
Add Comment
Please, Sign In to add comment