Errorcode [1260]; % dline (s) werecutbyGROUP_CONCAT (); _ MySQL
Source: Internet
Author: User
Errorcode [1260]; % dline (s) werecutbyGROUP_CONCAT (); GROUP_CONCAT has a maximum length limit. if the maximum length is exceeded, it will be truncated. you can obtain it through the following statement:
Mysql> SELECT @ global. group_concat_max_len;
+ ------------------------------- +
| @ Global. group_concat_max_len |
+ ------------------------------- +
| 1, 1024 |
+ ------------------------------- +
1024 is the default maximum length of the MySQL system. If your bid string is larger than this, the problem may occur.
Solution
1. add the following in the MySQL configuration file:
Group_concat_max_len = 102400 # Maximum length you want
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.