From 81fba581bd852d1072be4ea9ced418fe51d32949 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 8 Oct 2023 00:32:21 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 65f1b77f3..c0b7621fe 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -375,6 +375,10 @@ mw_connect_mysql(){ ${ROOT_PATH}/mariadb/bin/mysql -uroot -p"${pwd}" fi + if [ "$CHOICE_DB" == "mysql-apt" ];then + ${ROOT_PATH}/mysql-apt/bin/usr/bin/mysql -uroot -p"${pwd}" + fi + } case "$1" in