读书人

Ubuntu Server 中MySQL没法远程连接

发布时间: 2012-07-30 16:19:05 作者: rapoo

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为%,即可以远程连接

读书人网 >Mysql

热点推荐