Skip to content

Instantly share code, notes, and snippets.

@cppshane
Created May 15, 2022 20:11
Show Gist options
  • Save cppshane/3dbc5857cd655e8d43252f0c95f52bea to your computer and use it in GitHub Desktop.
Save cppshane/3dbc5857cd655e8d43252f0c95f52bea to your computer and use it in GitHub Desktop.
SQL Initial Permissions
CREATE USER 'shane'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'shane'@'localhost' WITH GRANT OPTION;
CREATE USER 'shane'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'shane'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment