CREATE USER '[username]'@'%' IDENTIFIED BY '[password]';
GRANT ALL ON [database].* TO '[username]'@'%';
FLUSH PRIVILEGES;
Created
July 18, 2015 02:04
-
-
Save Mao8a/aedc8659981adfa73c21 to your computer and use it in GitHub Desktop.
MYSQL: Create User & Grant privileges
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment