原文地址:https://blog.csdn.net/qw222pzx/article/details/80867797

1. GROUP_CONCAT有个最大长度的限制,超过最大长度就会被截断掉,你可以通过下面的语句获得:

  SELECT @@global.group_concat_max_len;

  show variables like "group_concat_max_len";

2.在MySQL配置文件中my.conf或my.ini中添加:

  #[mysqld]
  group_concat_max_len=102400

3.重启MySQL服务

 

相关文章:

  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2022-01-21
  • 2021-10-14
  • 2021-09-17
猜你喜欢
  • 2022-01-01
  • 2021-05-24
  • 2021-06-21
  • 2022-12-23
  • 2022-01-23
  • 2021-08-17
相关资源
相似解决方案