作者rockcen (杰)
看板Database
标题[SQL ] 外部连不到MySQL 5.0.22
时间Tue Oct 9 00:32:04 2007
自己的linux 可以连的到
但是外部的机器怎样都连不到
我找寻过解决方法是要comment这两项in my.cnf
bind-address 127.0.0.1
skip-networking
我的my.cnf本来就没有这两项了
如下方
请教一下,我试了很久都还是不行...
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.62.1.105
※ 编辑: rockcen 来自: 61.62.1.105 (10/09 00:32)