pull/1/head
Cédric Bonhomme 2017-08-25 08:26:46 +02:00
parent 6c9b448294
commit 52bd8a618b
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ EOF
echo -e "\n--- Creation of the data bases---\n" echo -e "\n--- Creation of the data bases---\n"
mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC -e "CREATE DATABASE monarc_master DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;" > /dev/null 2>&1 mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC -e "CREATE DATABASE monarc_master DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;" > /dev/null 2>&1
mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC -e "CREATE DATABASE monarc_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;" > /dev/null 2>&1 mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC -e "CREATE DATABASE monarc_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;" > /dev/null 2>&1
echo -e "\n--- Populating MONARD DB ---\n" echo -e "\n--- Populating MONARC DB ---\n"
tar -xzvf db-bootstrap/monarc-common.tar.gz -C db-bootstrap/ > /dev/null tar -xzvf db-bootstrap/monarc-common.tar.gz -C db-bootstrap/ > /dev/null
mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC monarc_common < db-bootstrap/monarc-common.sql > /dev/null 2>&1 mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC monarc_common < db-bootstrap/monarc-common.sql > /dev/null 2>&1