![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mysql
Aniohevotach
新手
展开
-
Caused by java.time.zone.ZoneRulesException Unknown time-zone ID CTT
Caused by java.time.zone.ZoneRulesException Unknown time-zone ID CTT高版本的MySQL已经不需要填写serverTimezone=CTT,去掉就可以了!原创 2021-10-25 09:58:20 · 2224 阅读 · 1 评论 -
Mysql 多行合并为一行GROUP_CONCAT的使用
Mysql GROUP_CONCAT使用sql:SELECT GROUP_CONCAT(列) FROM 表但是需要注意的是GROUP_CONCAT有长度限制,一旦超过了最大长度,获取的数据就会被截断获取GROUP_CONCAT长度:show variables like 'group_concat_max_len解决此问题的方法是修改函数长度一、语句命令修改,修改后需重新建立连接生效,但是mysql服务重启后又会失效。SET GLOBAL group_concat_max_len=102400原创 2021-01-04 18:12:08 · 193 阅读 · 0 评论