projects
/
osm
/
RO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a0b96
)
Update --createdb to use the right host/port
04/504/1
author
Adam Israel
<adam.israel@canonical.com>
Tue, 4 Oct 2016 19:03:31 +0000
(12:03 -0700)
committer
Adam Israel
<adam.israel@canonical.com>
Tue, 4 Oct 2016 19:04:29 +0000
(12:04 -0700)
Signed-off-by: Adam Israel <adam.israel@canonical.com>
database_utils/init_mano_db.sh
patch
|
blob
|
history
diff --git
a/database_utils/init_mano_db.sh
b/database_utils/init_mano_db.sh
index
224269b
..
f7401a0
100755
(executable)
--- 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"