Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- service mysql stop
- service mysql start --skip-grant-tables
- mysql
- UPDATE mysql.user SET password=PASSWORD('whateverpassword')
- WHERE user='root' and host='localhost';
- service mysql restart
- mysql -uroot -p
Add Comment
Please, Sign In to add comment