summaryrefslogtreecommitdiffstats
path: root/components/congress/joid
diff options
context:
space:
mode:
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