Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mtianyan
Created January 3, 2019 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtianyan/e058f679ea94e4ec29a0b1e5784d4bba to your computer and use it in GitHub Desktop.
Save mtianyan/e058f679ea94e4ec29a0b1e5784d4bba to your computer and use it in GitHub Desktop.
[mysql8] init root password
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment