diff --git a/config/my.cnf b/config/my.cnf index d360aa4..d874042 100644 --- a/config/my.cnf +++ b/config/my.cnf @@ -16,7 +16,7 @@ init_connect='SET NAMES utf8mb4' #group_concat_max_len=1024 #group_concat_max_len=10240 -group_concat_max_len=-1 +group_concat_max_len=4294967295 [client] diff --git a/docker-compose.yml b/docker-compose.yml index 2d70914..ec8f958 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,12 @@ version: '3' services: mysql: - image: mysql:8.0.25 + image: mysql:8.0.28 restart: always container_name: mysql volumes: - ../volumes/data/mysqldata:/var/lib/mysql - - ./config/my.cnf:/etc/my.cnf + - ./config/my.cnf:/etc/mysql/conf.d/my.cnf # 数据库还原目录 可将需要还原的sql文件放在这里 - ./init/mysql:/docker-entrypoint-initdb.d environment: