From 3d227a8cb4888b8c5a483975c5aff8b62ccc355e Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Mon, 4 Sep 2023 15:50:16 +0800 Subject: [PATCH] d --- misc/importdb.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/importdb.sh b/misc/importdb.sh index 46ff60af..42022fc7 100644 --- a/misc/importdb.sh +++ b/misc/importdb.sh @@ -18,6 +18,7 @@ case "$1" in mysql -u${USER} -p${PASSWORD} -P ${PORT} -D ${DBNAME} < ${SQL}; done ;; + install) echo "Drop database ${DBNAME} ...!!!" mysql -u${USER} -p${PASSWORD} -P $PORT -e "${drop_db_sql}" @@ -28,6 +29,7 @@ case "$1" in mysql -u${USER} -p${PASSWORD} -P ${PORT} -D ${DBNAME} < ${SQL}; done ;; + *) while true do