Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysql> UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';
- mysql> DELETE FROM mysql.user WHERE User='';
- mysql> DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');
- mysql> DROP DATABASE test;
- mysql> DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%';
- mysql> FLUSH PRIVILEGES;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement