摘要: 原文参考链接 https://my.oschina.net/u/2925037/blog/3192918 https://blog.csdn.net/lilygg/article/details/87889765 升级大致步骤如下: 1、修改主数据库配置文件,开启主从复制必要的功能。 2、在主数据库 阅读全文
posted @ 2021-11-12 10:39 随身笔记~ 阅读(448) 评论(0) 推荐(0) 编辑
摘要: sql查询结果列拼接成逗号分隔的字符串 GROUP_CONCAT有个最大长度的限制,超过最大长度就会被截断掉,通过下面的语句获得长度: SELECT @@global.group_concat_max_len; 或者 show variables like "group_concat_max_len 阅读全文
posted @ 2021-11-12 10:29 随身笔记~ 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 报错:ERROR: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'patent_newt.t.company_persons' which is not functi 阅读全文
posted @ 2021-11-12 10:26 随身笔记~ 阅读(32) 评论(0) 推荐(0) 编辑