summaryrefslogtreecommitdiffstats
path: root/components/congress/joid
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-04-07 10:42:13 -0700
committerblsaws <bryan.sullivan@att.com>2016-04-07 10:42:13 -0700
commit2800a04e534ddc8d90738fab4b65060e6a5a064e (patch)
tree38dc7867a11bce86d034e5a35ff4b37f12656214 /components/congress/joid
parent9f1965c9532c3161ace02866fb93711eb66264ee (diff)
Remove "exit" from mysql command (automatically exits)
JIRA: COPPER-2 Change-Id: I5b94bc72bb32c518480b647e64c95da09ec70507 Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'components/congress/joid')
-rw-r--r--components/congress/joid/install_congress_2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/congress/joid/install_congress_2.sh b/components/congress/joid/install_congress_2.sh
index d8b0968..d6a27e0 100644
--- a/components/congress/joid/install_congress_2.sh
+++ b/components/congress/joid/install_congress_2.sh
@@ -105,7 +105,7 @@ echo "copy congress.conf.sample to /etc/congress"
sudo cp etc/congress.conf.sample /etc/congress/congress.conf
echo "create congress database"
-sudo mysql --user=root --password=$MYSQL_PASSWORD -e "CREATE DATABASE congress; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu@localhost' IDENTIFIED BY '"$MYSQL_PASSWORD"'; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu'@'%' IDENTIFIED BY '"$MYSQL_PASSWORD"'; exit;"
+sudo mysql --user=root --password=$MYSQL_PASSWORD -e "CREATE DATABASE congress; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu@localhost' IDENTIFIED BY '"$MYSQL_PASSWORD"'; GRANT ALL PRIVILEGES ON congress.* TO 'ubuntu'@'%' IDENTIFIED BY '"$MYSQL_PASSWORD"';"
echo "install congress-db-manage dependencies (detected by errors)"
sudo apt-get build-dep python-mysqldb -y