您的位置:首页 > 数据库 > MySQL

解决ERROR 2003 (HY000): Can't connect to MySQL server on "host" (111)

2013-07-18 17:26 423 查看
vim /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 <---注释掉这一行就可以远程登录了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐