Last active
June 8, 2021 09:22
-
-
Save JoJoJotarou/5d1e2e8ec70381cc0849cf45cb9cf40a to your computer and use it in GitHub Desktop.
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
-- 用户授权 | |
GRANT ALL PRIVILEGES ON *.* TO 'your_username'@'%' identified by 'your_password'; | |
-- 刷新权限,修改权限后必需执行 | |
flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ref:https://dev.mysql.com/doc/refman/5.7/en/grant.html