From 525ff4e791fc0977dc0ca9b5b8d31b00f26c215e Mon Sep 17 00:00:00 2001 From: Junior233 <67447332+Junior233@users.noreply.github.com> Date: Fri, 26 Nov 2021 16:14:41 +0800 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 69f94cb..c8e7cb3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -61,5 +61,6 @@ services: environment: MYSQL_ALLOW_EMPTY_PASSWORD: "true" MYSQL_DATABASE: "rap2" - MYSQL_USER: "root" + # 新版docker可能需要注释掉这个选项,否则无法启动 见 https://stackoverflow.com/questions/66831863/mysql-docker-container-keeps-restarting + # MYSQL_USER: "root" MYSQL_PASSWORD: ""