Skip to content

Instantly share code, notes, and snippets.

@amrography
Last active April 29, 2021 20:25
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 amrography/166eda431f29a60bcb60eb75a4276276 to your computer and use it in GitHub Desktop.
Save amrography/166eda431f29a60bcb60eb75a4276276 to your computer and use it in GitHub Desktop.
[Change mysql password] Update mysql password using command line #mysql
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment