Updated db initialization scripts.

pull/1/head
Cédric Bonhomme 2017-11-15 15:01:12 +01:00
parent 2ad48073f5
commit bf2b8bc86c
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
4 changed files with 2177 additions and 2 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

1097
db-bootstrap/monarc_data.sql Normal file

File diff suppressed because one or more lines are too long

View File

@ -193,8 +193,8 @@ 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_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;" > /dev/null 2>&1
echo -e "\n--- Populating MONARC DB ---\n"
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
mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC monarc_common < db-bootstrap/monarc_data.sql > /dev/null 2>&1
echo -e "\n--- Installation of Grunt ---\n"