From: Florent Bruneau Date: Mon, 21 Jun 2010 14:44:12 +0000 (+0200) Subject: DB creation must be done using mysql_exec_nodb since the databse does not X-Git-Tag: xorg/1.0.0~112 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=652f22ee0305e3ec317940bad85b84ebca3e6acc;p=platal.git DB creation must be done using mysql_exec_nodb since the databse does not exists. Signed-off-by: Florent Bruneau --- 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 "