因为group_concat默认值为1024的原因,请教一个问题

group_concat 函数默认长度为1024,但是查询出来的结果查询超过了1024,然后对结果进行解析
报错,百度之后,告诉设置group_concat_max_len变量,我执行了:

set global group_concat_max_len=20000;

提示没有super权限:

you need (at least one of) the SUPER privilege(s) for this operation

客户使用的是阿里云的mysql服务,如果设置session级别的设置并不能解决问题,所以想问一下有没有知道怎么获取阿里云MySQLsuper权限的大佬
分不多,囊中羞涩,不胜感激!!!

我也遇到同样的问题

SET GLOBAL group_concat_max_len = 102400;

SET SESSION group_concat_max_len = 102400;

https://blog.csdn.net/niugang0920/article/details/86074223