问题是什么?无法连接到数据库?无法创建PoolableConnectionFactory
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.)
请发布**完整** stacktrace来代替。没有堆栈跟踪,我们无法理解这个错误的**根**原因。 – 2011-03-05 12:10:32
在Linux中,我必须通过键入“service mysqld start”来启动服务。 – MacGyver 2015-06-11 21:27:35