优化mysql配置文件
parent
63e1175f6e
commit
ed0c499884
|
@ -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]
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue