Advertisement
Guest User

Untitled

a guest
Sep 7th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. password=$(grep 'temporary password' /var/log/mysqld.log | awk '{print $11}')
  2. mysqladmin --user=root --password="$password" password aaBB@@cc1122
  3. mysql --user=root --password=aaBB@@cc1122 -e "UNINSTALL PLUGIN validate_password;"
  4. mysqladmin --user=root --password="aaBB@@cc1122" password ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement