日期:2014-05-16  浏览次数:20808 次

设置Mysql允许其他电脑访问

最方便的方法:改表法

将user表中的host改为'%'。

进入mysql数据库,然后

update user set host='%' where user='root';

重启mysql服务即可访问。