MySQL8.0数据库配置注意事项
新版本8.0以后的MySQL同5左右的数据看连接配置有所区别
1.查看MySQL版本
2.jdbc配置
jdbc.driver=com.mysql.cj.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/XXX?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
新版本8.0以后的MySQL同5左右的数据看连接配置有所区别
1.查看MySQL版本
2.jdbc配置
jdbc.driver=com.mysql.cj.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/XXX?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8