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

 

posted @ 2019-08-06 17:36  Demetris  阅读(963)  评论(0)    收藏  举报