首页 > 数据库技术 > 详细

换个新版本的jar包 Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.

时间:2021-05-25 23:48:27      阅读:19      评论:0      收藏:0      [点我收藏+]

javaweb报错:Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNo


报错内容:
Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
原因:mysql-connecter的jar包太老,mysql版本太新
解决:换个新版本的jar包

换个新版本的jar包 Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.

原文:https://www.cnblogs.com/h2018213266/p/14810562.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!