首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

Ubuntu Server 中MySQL没法远程连接

2012-07-30 
Ubuntu Server 中MySQL无法远程连接MySQL 连接服务器时发生”Can not connect to mysql error 10061”错误:

Ubuntu Server 中MySQL无法远程连接

MySQL 连接服务器时发生”Can not connect to mysql error 10061”错误:

检查/etc/mysql/my.conf文件中的bind-address选项是否设置为服务器的IP,默认为127.0.0.1。

?

发生”is not allowed to connect to this MySQLserver”错误:

MySQL的user表中修改host列的localhost为%,即可以远程连接

热点排行