优化mysql配置文件
parent
63e1175f6e
commit
ed0c499884
|
@ -16,7 +16,7 @@ init_connect='SET NAMES utf8mb4'
|
||||||
|
|
||||||
#group_concat_max_len=1024
|
#group_concat_max_len=1024
|
||||||
#group_concat_max_len=10240
|
#group_concat_max_len=10240
|
||||||
group_concat_max_len=-1
|
group_concat_max_len=4294967295
|
||||||
|
|
||||||
[client]
|
[client]
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8.0.25
|
image: mysql:8.0.28
|
||||||
restart: always
|
restart: always
|
||||||
container_name: mysql
|
container_name: mysql
|
||||||
volumes:
|
volumes:
|
||||||
- ../volumes/data/mysqldata:/var/lib/mysql
|
- ../volumes/data/mysqldata:/var/lib/mysql
|
||||||
- ./config/my.cnf:/etc/my.cnf
|
- ./config/my.cnf:/etc/mysql/conf.d/my.cnf
|
||||||
# 数据库还原目录 可将需要还原的sql文件放在这里
|
# 数据库还原目录 可将需要还原的sql文件放在这里
|
||||||
- ./init/mysql:/docker-entrypoint-initdb.d
|
- ./init/mysql:/docker-entrypoint-initdb.d
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue