`
radio123
  • 浏览: 203444 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

message from server: "Host '80dc58cd93cd4c3' is not allowed to connect

 
阅读更多

mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
-> ON <dbname>.*
-> TO <username>@<host name>
-> IDENTIFIED BY '<password>';

where <dbname> is the name of the database you are tyring to connect to, <username> is the username of the user trying to connect to the database, <host name> the name of the host (in your case the XXX host) and <password> the password of the user.

 

 

授权给所有人:

 

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics