CentOS连接不上windows中的mysql数据库

goodlucktomyself 2015-01-21 03:27:44
在windows上安装了虚拟机和mysql;然后再虚拟机中安装了CentOS,并在CentOS里面安装了Bugzilla,Bugzilla访问的数据库是windows中的mysql,因为windows开始已安装了mysql,所以没在CentOS中再安装。
CentOS和windows都开放了3306端口权限,但是运行Bugzilla时,一直报错:


Software error:

Can't connect to the database.
Error: Can't connect to MySQL server on '192.168.1.200' (13)
Is your database installed and up and running?
Do you have the correct username and password selected in localconfig?

For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
...全文
415 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
anyonsss 2015-01-22
  • 打赏
  • 举报
回复
1.网络是否正常
2.mysql是否正常
3.防火墙是否阻拦
4.连接账号是否正常
HBack 2015-01-21
  • 打赏
  • 举报
回复
CentOS不用开放3306的 你先ping一下能通么,telnet一下端口能痛么。再看看其他的防火墙配置吧。

18,773

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧