美文网首页
IDEA连接数据库错误:[08001] Could not cr

IDEA连接数据库错误:[08001] Could not cr

作者: ming_Liu | 来源:发表于2019-10-22 16:07 被阅读0次

用IDEA连接数据库的时候出现以下错误

我的这个错误的原因是URL后面缺少后缀

这个错误我的解决方法是在URL后面增加后缀:

?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC

错误解决:

后续:我在上网查看此问题的时候发现缺少后缀不是唯一出现这个错误的原因,如果加后缀后也不能解决此问题,请继续尝试其他方法,比如更换驱动(参考链接:https://www.cnblogs.com/xiaobai1202/p/10904371.html )、更新驱动和jar包(参考链接 https://blog.csdn.net/yiye2017zhangmu/article/details/93622976 )等等

转载链接:https://blog.csdn.net/qq_35389417/article/details/98944551

相关文章

网友评论

      本文标题:IDEA连接数据库错误:[08001] Could not cr

      本文链接:https://www.haomeiwen.com/subject/kdgqvctx.html