优化mysql配置文件

master
paulGao 2022-07-08 11:23:35 +08:00
parent 63e1175f6e
commit ed0c499884
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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: