1.你的mysql版本是8.0.13的话驱动不是com.mysql.jdbc.Driver而是下面的中间有cj的写法
2.解决方法:将“jdbc:mysql://localhost:3306/mybaits”替换为"jdbc:mysql://localhost:3306/mybaits?serverTimezone=GMT%2B8"即可解决下面问题
问题描述:出现下面时区异常org.apache.ibatis.exceptions.PersistenceException:
1.你的mysql版本是8.0.13的话驱动不是com.mysql.jdbc.Driver而是下面的中间有cj的写法
2.解决方法:将“jdbc:mysql://localhost:3306/mybaits”替换为"jdbc:mysql://localhost:3306/mybaits?serverTimezone=GMT%2B8"即可解决下面问题
问题描述:出现下面时区异常org.apache.ibatis.exceptions.PersistenceException: