Guest User

Untitled

a guest
Mar 1st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # Reset mysql root password
  2. pkill mysqld
  3. mysqld_safe --skip-grant-tables &
  4. mysql -u root mysql
  5.  
  6. UPDATE user SET password=PASSWORD('') WHERE user="root";
  7. FLUSH PRIVILEGES;
  8.  
  9. pkill mysqld_safe
  10. /etc/init.d/mysqld start
Add Comment
Please, Sign In to add comment