Created
October 24, 2013 09:14
-
-
Save BiosSun/7133845 to your computer and use it in GitHub Desktop.
创建 MySQL 数据库用户,同时为其分配权限。
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
-- 创建一个用户,并授予其指定数据库的所有权限。 | |
grant all privileges on `user`.* 'username'@'%' identified by 'password' with grant option; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment