Skip to content

Instantly share code, notes, and snippets.

@kmvan
Last active November 20, 2019 14:48
Show Gist options
  • Save kmvan/eb9c5efbe82253c69941554616a6b1c2 to your computer and use it in GitHub Desktop.
Save kmvan/eb9c5efbe82253c69941554616a6b1c2 to your computer and use it in GitHub Desktop.
MySQL init
update mysql.user set plugin='mysql_native_password' where user='root';
update mysql.user set password=password("pwd") where user='root';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment