Home >Backend Development >PHP Tutorial >2003 can't connect to mysql server on 10060

2003 can't connect to mysql server on 10060

WBOY
WBOYOriginal
2016-06-06 20:49:121333browse

服务器的mysql在本地连接不上了,但网站能访问,说明服务器和mysql的3306是启动了,那为什么在本地连接不上呢ps:没有root权限登陆服务器查看

回复内容:

服务器的mysql在本地连接不上了,但网站能访问,说明服务器和mysql的3306是启动了,那为什么在本地连接不上呢ps:没有root权限登陆服务器查看

服务器上的mysql可能没有开启远程访问的权限 或者是服务器的3306端口没有开放允许外网访问

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn