Reputation: 11
How to set up group concat max length permanently in Mysql?
While setting group concat max length:
SET group_concat_max_len=102400
At the time it is set, but after restarting the server, it shows its default value 1024 again.
Upvotes: 0
Views: 3976
Reputation: 201
Edit my.cnf file and add group_concat_max_len=102400
under [mysqld] section. Then restart mysql service and that's all.
Upvotes: 2
Reputation: 306
You can pass it to MySQL deamon via param:
--group_concat_max_len=xxx
Upvotes: 1