Skip to content

Commit

Permalink
eccube_install.sh 無用なエラー停止を回避 (MySQL)
Browse files Browse the repository at this point in the history
  • Loading branch information
seasoftjapan committed Dec 18, 2024
1 parent 88f0721 commit 49fea35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eccube_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 49fea35

Please sign in to comment.