🐛 Fix: [后台]:修改mysql配置文件

This commit is contained in:
fanxb 2019-07-05 17:00:22 +08:00
parent e7fd5ebd41
commit 3501ee2e77
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
version: "3"
version: "2"
services:
bookmark-mysql:
image: mysql:8.0.16
@ -15,6 +15,7 @@ services:
- ./timezone:/etc/timezone
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_PASS}
- MYSQL_DATABASE=bookmark
bookmark-redis:
image: redis:3.2.10
container_name: bookmark-redis

View File

@ -15,11 +15,11 @@ key_buffer_size=32M
#ft_min_word_len=2
# 开启慢查询日志记录
set global slow_query_log = on
slow_query_log = 1
# 记录阈值单位s
set long_query_time = 0.3
long_query_time = 0.3
# 设置查询存储方式
set globle log_output = table
log_output = table
[mysql]