mysql ip

在装有MySQL的机器上登录MySQL mysql -u root -p密码
执行use mysql;
执行update user set host = '%' where user = 'root' and host = "localhost" ;
执行FLUSH PRIVILEGES;

 

posted @ 2019-09-27 19:15  絵飛ヾ的魚  阅读(174)  评论(0编辑  收藏  举报