From 652f22ee0305e3ec317940bad85b84ebca3e6acc Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 21 Jun 2010 16:44:12 +0200 Subject: [PATCH] DB creation must be done using mysql_exec_nodb since the databse does not exists. Signed-off-by: Florent Bruneau --- upgrade/1.0.0/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade/1.0.0/update.sh b/upgrade/1.0.0/update.sh index d7f6f65..e211b6e 100755 --- a/upgrade/1.0.0/update.sh +++ b/upgrade/1.0.0/update.sh @@ -8,7 +8,7 @@ confirm "Setting up new database: target db is \"$DATABASE\", source prefix is \"$DBPREFIX\"" echo "* create database" -mysql_exec "CREATE DATABASE IF NOT EXISTS $DATABASE;" +mysql_exec_nodb "CREATE DATABASE IF NOT EXISTS $DATABASE;" echo "OK" echo "* copying tables " -- 2.1.4