Last active
March 4, 2020 09:03
-
-
Save aamsur-mkt/7b243904e2cc3c2ee56e2a3282c09745 to your computer and use it in GitHub Desktop.
Create master user that can create other user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create user master_user@'%' identified by 'yourfpassword'; | |
| grant CREATE USER on *.* to master_user@'%'; | |
| grant GRANT OPTION USER on *.* to master_user@'%'; | |
| grant ALL on *.* to master_user@'%'; | |
| FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment