Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:> net stop mysql
- [mysqld]
- skip-grant-tables
- C:> net start mysql
- C:> mysql
- UPDATE mysql.user SET password=password('hello') where user='root' and host='localhost';
- exit
- C:> net stop mysql
- C:> net start mysql
- C:> mysql -uroot -p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement