Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysqld --initialize
- To test:
- mysqld --standalone --console
- To change root password:
- prompt1> mysqld --standalone --console --skip-grant-tables
- prompt2> mysql -u root
- use mysql
- update user set authentication_string=password('my_password') where user='root';
- Kill mysqld and restart with proper password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement