[F] fix mysql cann't start when version is 8.*

This commit is contained in:
牟勇 2018-12-04 01:57:37 +08:00
parent 2de32fe97f
commit 28e82813c4
2 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ services:
context: ./mysql
args:
- MYSQL_VERSION=${MYSQL_VERSION}
command: "--innodb_use_native_aio=0"
environment:
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}

View File

@ -6,5 +6,5 @@
[mysql]
[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_DATE,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
character-set-server=utf8mb4