Advertisement
Guest User

Untitled

a guest
Oct 10th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. mysqld --initialize
  2.  
  3. To test:
  4. mysqld --standalone --console
  5.  
  6. To change root password:
  7. prompt1> mysqld --standalone --console --skip-grant-tables
  8. prompt2> mysql -u root
  9. use mysql
  10. update user set authentication_string=password('my_password') where user='root';
  11. Kill mysqld and restart with proper password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement