Saturn icon indicating copy to clipboard operation
Saturn copied to clipboard

mysql如果是8.x需要调整mysql.connector、并且需要修改CurrentJobConfigMapper.xml、HistoryJobConfigMapper.xml

Open haoleng opened this issue 5 years ago • 1 comments

如果msyql是8.x在datasource的url,userName,password均正确的情况下依然不能连接数据库。需要升级mysql.connector版本。 同时,CurrentJobConfigMapper.xml、HistoryJobConfigMapper.xml里面使用了groups关键字作为字段名,在8.x会报错,需要将相关字段groups改为groups

haoleng avatar Mar 27 '20 09:03 haoleng

是的,我也遇到了相同的问题。mysql官方已经推荐使用8.x的驱动了。 image

https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-versions.html

zsf513 avatar Jan 09 '21 04:01 zsf513