Guest User

Untitled

a guest
Oct 5th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. mysql -e "UPDATE mysql.user SET Password=PASSWORD('{input_password_here}') WHERE User='root';"
  2. mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');"
  3. mysql -e "DELETE FROM mysql.user WHERE User='';"
  4. mysql -e "DROP DATABASE test;"
  5. mysql -e "FLUSH PRIVILEGES;"
Add Comment
Please, Sign In to add comment