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:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
** BEGIN NESTED EXCEPTION **
com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE:
我的程序出以上问题原因是: 数据库连接重写了一篇,service 里面的SQL语句错误,把jar包换成了mysql-connector-java-5.1.18-bin.jar 总结一点就是程序的错误
有这种问题错误的并且解决的可以留言在下面,让后来者更多了解
本文探讨了在使用mysql-connector-java-5.1.18-bin.jar时遇到的数据库连接重写、服务内SQL语句错误等问题,并提供了解决方案。主要内容包括程序错误原因分析、解决方案分享。
2597

被折叠的 条评论
为什么被折叠?



