From 49fea35f52ef0cafbce5a8a859331f6a9179d2b6 Mon Sep 17 00:00:00 2001 From: Seasoft Date: Wed, 18 Dec 2024 14:06:22 +0900 Subject: [PATCH] =?UTF-8?q?eccube=5Finstall.sh=20=E7=84=A1=E7=94=A8?= =?UTF-8?q?=E3=81=AA=E3=82=A8=E3=83=A9=E3=83=BC=E5=81=9C=E6=AD=A2=E3=82=92?= =?UTF-8?q?=E5=9B=9E=E9=81=BF=20(MySQL)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eccube_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eccube_install.sh b/eccube_install.sh index 81290dd605..60c6f69c9e 100755 --- a/eccube_install.sh +++ b/eccube_install.sh @@ -265,7 +265,7 @@ case "${DBTYPE}" in fi # MySQL echo "dropdb..." - ${MYSQL} -u ${ROOTUSER} -h ${DBSERVER} -P ${DBPORT} ${PASSOPT} -e "DROP DATABASE \`${DBNAME}\`" + ${MYSQL} -u ${ROOTUSER} -h ${DBSERVER} -P ${DBPORT} ${PASSOPT} -e "DROP DATABASE IF EXISTS \`${DBNAME}\`" echo "createdb..." ${MYSQL} -u ${ROOTUSER} -h ${DBSERVER} -P ${DBPORT} ${PASSOPT} -e "CREATE DATABASE \`${DBNAME}\` DEFAULT COLLATE=utf8_general_ci;" #echo "grant user..."