1、mysql5.7版本中有一个bug,当除数为0,进行查询时始终会报ERROR 1365 (22012): Division by 0  错误。无论设置sql_mode与否,都不起作用。而相同的sql在5.6版本上就不会出现错误。 

​https://www.digitalocean.com/community/tutorials/how-to-prepare-for-your-mysql-5-7-upgrade​


2、mysql5.5版本,后台java使用mybatis框架,sql中使用select group_concat(concat_ws(';',tab.sum,tab.report_date) ORDER BY tab.report_date) as info, 这种语法获取数据时,无法解析。目前不知道怎么解决。