默认情况下mysql禁止远程登陆,打开方法:

vi /etc/my.cnf

在[mysqld]节下添加:

skip-name-resolve

重启mysql服务即可。

posted on 2012-04-07 16:35  yeahgis  阅读(301)  评论(0编辑  收藏  举报