修改配置文件(需要重启服务才能生效)
修改MySQL的配置文件: #需要设置的长度 group_concat_max_len = 5120
针对当前存储过程修改(不需要重启服务)
#在查询语句前加上 SET GLOBAL group_concat_max_len=5120; SET SESSION group_concat_max_len=5120;