Skip to content

Instantly share code, notes, and snippets.

@cppshane
Created May 15, 2022 20:11
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