Advertisement
Guest User

Untitled

a guest
Jul 6th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. C:> net stop mysql
  2.  
  3. [mysqld]
  4. skip-grant-tables
  5.  
  6. C:> net start mysql
  7. C:> mysql
  8.  
  9. UPDATE mysql.user SET password=password('hello') where user='root' and host='localhost';
  10. exit
  11.  
  12. C:> net stop mysql
  13.  
  14. C:> net start mysql
  15.  
  16. C:> mysql -uroot -p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement