Mysql php apache tomcat 论坛数据库异常

Mysql php apache tomcat 论坛数据库异常

Mysql php apache tomcat 论坛数据库错误

Connect(0)   to   MySQL   failed

The   URL   Is:

http://xxx.xxx.xxx.xxx:8080

MySQL   Server   Error:

Can ‘t   connect   to   local   MySQL   server   through   socket   ‘/tmp/mysql.sock ‘   (2)   (   2002   )

You   Can   Get   Help   In:

http://www.phpwind.net  

我在Linux运行着一个Tomcat:80,然后我再用apache:8080连接php论坛的时候出现了上面错误。我的apache和tomcat没有整合。请问再不整合的前提下可以解决此问题吗?



本地的还是远程的?

telnet对应的端口看能不能通?




好像是你的mysql数据库没有启动或者是启动不动,你先检查一下有没有mysql的进程,没有话就启动它看看;有的话就强制关闭它,然后再启动看看行不行,不行的话你就要查看一下mysql的日志,看看到底是什么原因导致它不能启动.

Mysql php apache tomcat 论坛数据库异常

相关文章:

你感兴趣的文章:

标签云: