在装有MySQL的机器上登录MySQL mysql -u root -p密码 执行use mysql; 执行update user set host = '%' where user = 'root' and host = "localhost" ; 执行FLUSH PRIVILEGES;
转载于:https://www.cnblogs.com/But-you/p/11599841.html
因篇幅问题不能全部显示,请点此查看更多更全内容