ITeye博客

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

radio123 · 2011-10-20 11:40 · mysql · 数据库 · Markdown

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;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。