外网能访问3306么?
Tofloor
poster avatar
male
deepin
2016-08-11 22:20
Author
我在我机器上装了mysql,用localhost是可以登上的,用ip(内网IP)就连不上。
当然我的mysql用是有权限的,主机配置是%

Reply Favorite View the author
All Replies
avatar
138******40
deepin
2016-08-11 23:06
#1
能把连接时的错误代码和错误信息也一并发上来么,根据错误代码Google一下基本就有答案了。。。
Reply View the author
avatar
male
deepin
2016-08-11 23:32
#2
https://bbs.deepin.org/post/42303
能把连接时的错误代码和错误信息也一并发上来么,根据错误代码Google一下基本就有答案了。。。 ...

好,我明天试试看,现在换成windows工作了。
Reply View the author
avatar
male
deepin
2016-08-12 04:49
#3
https://bbs.deepin.org/post/42303
能把连接时的错误代码和错误信息也一并发上来么,根据错误代码Google一下基本就有答案了。。。 ...

bind-address                = 127.0.0.1
/etc/mysql/mysql.conf.d/mysqld.cnf
找到原因了。还以为有防火墙设置呢。所以问一下。
Reply View the author
avatar
sunnyyuu2
deepin
2016-08-12 04:51
#4
mark一下,以备不时之需
Reply View the author