- 博客(2)
- 收藏
- 关注
转载 idea连接数据库报错
使用idea连接MySql时出现:后来查阅资料发现这都是因为安装mysql的时候时区设置的不正确 mysql默认的是美国的时区,而我们中国大陆要比他们迟8小时,采用+8:00格式。使用的数据库是MySQL,在你没有指定MySQL驱动版本的情况下它自动依赖的驱动是8.0.12很高的版本,这是由于数据库和系统时区差异所造成的,在jdbc连接的url后面加上serverTimezone=GMT即可...
2019-07-02 14:13:20
1209
原创 SQLGrammarException: could not extract ResultSet
org.hibernate.exception.SQLGrammarException: could not extract ResultSet at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63) at org.hibernat
2017-10-14 14:40:20
2585
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人