MySQL group_concat_max_len in a query

后端 未结 5 1442
春和景丽
春和景丽 2021-02-05 16:27

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 *         


        
5条回答
  •  感动是毒
    2021-02-05 16:54

    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.

提交回复
热议问题