From: Adam Israel Date: Tue, 4 Oct 2016 19:03:31 +0000 (-0700) Subject: Update --createdb to use the right host/port X-Git-Tag: v1.0.1~8 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=33f0a7e496b0385d6849138381ac1e4089efe328;p=osm%2FRO.git Update --createdb to use the right host/port Signed-off-by: Adam Israel --- diff --git a/database_utils/init_mano_db.sh b/database_utils/init_mano_db.sh index 224269bc..f7401a0f 100755 --- a/database_utils/init_mano_db.sh +++ b/database_utils/init_mano_db.sh @@ -129,7 +129,7 @@ if [ -n "${CREATEDB}" ]; then echo " deleting previous database ${DBNAME}" echo "DROP DATABASE IF EXISTS ${DBNAME}" | mysql $DEF_EXTRA_FILE_PARAM $DBHOST_ $DBPORT_ echo " creating database ${DBNAME}" - mysqladmin $DEF_EXTRA_FILE_PARAM -s create ${DBNAME} || exit 1 + mysqladmin $DEF_EXTRA_FILE_PARAM $DBHOST_ $DBPORT_ -s create ${DBNAME} || exit 1 fi echo " loading ${DIRNAME}/${DBNAME}_structure.sql"