Created
October 18, 2016 07:42
-
-
Save dungmanh88/839aa04cfac65b5238bc1d19280f5fd3 to your computer and use it in GitHub Desktop.
Create a mysql account with basic permission
This file contains 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
mysql> grant index, create temporary tables, create view, show view, create routine, alter routine, trigger, delete, insert, select, update, execute on `test`.* to 'user'@'host' identified by 'auth_string'; | |
mysql> flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment