I\'m searching a way to insert this
SET GLOBAL group_concat_max_len=15000
in an existing SQL query such as the following:
SELECT *
For new user, while searching for solution on increasing group_concat_max_len i identified that in certain cases variable was not defined in my.cnf file. Nothing to worry about just addup this variable group_concat_max_len=XXXXX under heading [mysqld] in my.cnf file and restart mysql... you are DONE !!!
XXXXX = you desired value eg: 2048,4096 etc.