我菜固我在

博客园 首页 新随笔 联系 订阅 管理
取消mysql本机绑定:
编辑/etc/mysql/my.cnf
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1
将”bind-address = 127.0.0.1“注释
sudo /etc/init.d/mysql restart重启即可远程访问
posted on 2008-12-04 21:38  大侠(cer)  阅读(266)  评论(0编辑  收藏  举报