Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Reset mysql root password
- pkill mysqld
- mysqld_safe --skip-grant-tables &
- mysql -u root mysql
- UPDATE user SET password=PASSWORD('') WHERE user="root";
- FLUSH PRIVILEGES;
- pkill mysqld_safe
- /etc/init.d/mysqld start
Add Comment
Please, Sign In to add comment