jdbcConfig.properties

MySQL5.x

jdbc.driver=com.mysql.jdbc.Drive
jdbc.url=jdbc:mysql://localhost:3306/DBNAme?useUnicode=true&characterEncoding=utf8
jdbc.username=root
jdbc.password=root

MySQL8.x

jdbc.driver=com.mysql.cj.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/DBNAme?useUnicode=true&characterEncoding=utf8&userSSL=false&serverTimezone=GMT%2B8
jdbc.username=root
jdbc.password=root

 

jdbcConfig.properties

上一篇:Navicat连接MySQL Server8.0无法连接


下一篇:MySQL 事务控制语言