MySQL 8.0常见问题

1.连接问题:

  1.1:8.0的驱动地址更换由原来的com.mysql.jdbc.Driver改为com.mysql.cj.jdbc.Driver

  1.2:8.0以后访问地址要加上时区、编码等属性jdbc:mysql://localhost:3306/数据库          useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai

  1.3使用Navicat的时候要更改加密方式。

猜你喜欢

转载自www.cnblogs.com/rookiegogo/p/9907296.html