MySQL and GROUP_CONCAT() maximum length

前端 未结 7 1007
难免孤独
难免孤独 2020-11-22 15:24

I\'m using GROUP_CONCAT() in a MySQL query to convert multiple rows into a single string. However, the maximum length of the result of this function is 10

7条回答
  •  佛祖请我去吃肉
    2020-11-22 15:25

    Include this setting in xampp my.ini configuration file:

    [mysqld]
    group_concat_max_len = 1000000
    

    Then restart xampp mysql

提交回复
热议问题