2009-02-03
JDBC中的Communications link failure due to underlying exception错误的解决办法
标签:Java, JDBC, spring+struts+hibernate, 解决办法问题描述:使用JDBC连接Mysql数据库时,出现“Connection reset”错误,抛出如下异常:
Connection couldn't be established to jdbc:mysql://***/***?user=***&password=********
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception: ...查看全文