Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DELETE FROM mysql.user WHERE user = 'demo';
- flush privileges;
- GRANT ALL PRIVILEGES ON *.* TO 'demo'@'localhost' ;
- GRANT ALL PRIVILEGES ON *.* TO 'demo'@'localhost' ;
- CREATE USER 'demo'@'%' IDENTIFIED BY 'demo' ;
- GRANT ALL PRIVILEGES ON *.* TO 'demo'@'%' WITH GRANT OPTION ;
- use mysql;
- update user set password=password('demo') where user='demo';
- flush privileges;
- exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement