From 754f1c1a33ca17099d6deece7eb84cb519a46eb0 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Thu, 23 Nov 2023 17:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dnmp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dnmp.sh b/dnmp.sh index ddca02e..3df36a1 100644 --- a/dnmp.sh +++ b/dnmp.sh @@ -48,6 +48,7 @@ init(){ fi # 替换.env文件中的MYSQL_ROOT_PASSWORD变量 sed -i "s/MYSQL_ROOT_PASSWORD=root3306/MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}/g" ${CURRENT_DIR}/.env + sed -i "s/MYSQL_ROOT_PASSWORD=root3306/MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}/g" ${CURRENT_DIR}/mysql/.env # 加载环境变量 source ${CURRENT_DIR}/.env }