ITeye博客

MySql 解决1130 远程链接问题

cooperay · 2016-06-02 13:35 · 数据库 · 数据库 · Markdown

mysql -u root -p 
mysql>use mysql; 
mysql>select 'host' from user where user='root'; 
mysql>update user set host = '%' where user ='root'; 
mysql>flush privileges; 
mysql>select 'host'   from user where user='root';

评论(0)

暂无评论。

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