【发布时间】:2011-07-09 09:20:57
【问题描述】:
有什么问题?无法连接数据库?
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
【问题讨论】:
-
请改为发布 full 堆栈跟踪。如果没有堆栈跟踪,我们无法理解导致此错误的 root 原因是什么。
-
在 Linux 中,我必须通过键入“service mysqld start”来启动服务