Skip to content

Instantly share code, notes, and snippets.

@imammubin
Last active February 27, 2022 21:06
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 imammubin/c0c2e815687327eba4e721027cf871f9 to your computer and use it in GitHub Desktop.
Save imammubin/c0c2e815687327eba4e721027cf871f9 to your computer and use it in GitHub Desktop.
MYSQL 5.7
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'rootpasswd' ;
use mysql;
update user set host='%' where host='localhost'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment