原因数据库与jdbc版本差距过大,maven中导入到5.1.44及以上的版本
其中驱动位置要改为com.mysql.cj.jdbc.Driver
并且加入时区等jdbc:mysql://localhost:3306/crm?useUnicode=true&serverTimezone=UTC&characterEncoding=utf-8&useSSL=false
原因数据库与jdbc版本差距过大,maven中导入到5.1.44及以上的版本
其中驱动位置要改为com.mysql.cj.jdbc.Driver
并且加入时区等jdbc:mysql://localhost:3306/crm?useUnicode=true&serverTimezone=UTC&characterEncoding=utf-8&useSSL=false
本文标题:Mysql报bigInterger、255等异常
本文链接:https://www.haomeiwen.com/subject/tfchwktx.html
网友评论