记录下spirngboot-mybatis项目遇到的问题
2023-03-27 17:36 作者:CatWithWrench | 我要投稿
版本对应问题:springboot mybatis mysql
新老项目的数据库连接池包的弃用更新:application.yml: driver-class-name: com.mysql.cj.jdbc.Driver
数据库时区问题:jdbc:mysql://localhost:3306/boot_backend?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2b8&allowMultiQueries=true&useSSL=false 中的&serverTimezone=GMT是改变时区为中国的时区