`
jiangzhenghua
  • 浏览: 600162 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Last packet sent to the server was 0 ms ago.

阅读更多

Last packet sent to the server was 0 ms ago.
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2820)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
        at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
        at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
        ... 22 more

 

 

经过多次查找发现数据库的机器down掉了!

1
0
分享到:
评论
4 楼 luohaobubu 2012-02-28  
wucgen 写道
可以将localhost改成127.0.0.1再去访问:
url:jdbc:mysql://l27.0.0.1:3306/test
driver:com.mysql.jdbc.Driver


myeclipse 中配置mysql localhost改为127.0.0.1问题就解决了
3 楼 wucgen 2011-11-23  
可以将localhost改成127.0.0.1再去访问:
url:jdbc:mysql://l27.0.0.1:3306/test
driver:com.mysql.jdbc.Driver
2 楼 tianduchen 2010-01-29  
增加mySql中my.ini文件中,timeout空闲时间,然后重新启动mySql
1 楼 折翼天彬 2009-12-10  
请问lz有解决方法吗?看着tomcat的提示就很不是滋味···

相关推荐

Global site tag (gtag.js) - Google Analytics