Skip to content

Instantly share code, notes, and snippets.

@EverettBerry
Created March 10, 2022 16:01
Show Gist options
  • Save EverettBerry/521238ed4a3d5bfef2432bf2abfc034f to your computer and use it in GitHub Desktop.
Save EverettBerry/521238ed4a3d5bfef2432bf2abfc034f to your computer and use it in GitHub Desktop.
Add Host to MySQL
CREATE USER 'root2'@'127.0.0.1' IDENTIFIED BY 'root';
GRANT ALL PRIVILEGES ON *.* TO 'root2'@'127.0.0.1' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment