2020-05-18 23:56:07 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DBHOST="127.0.0.1"
|
|
|
|
DBUSER_MONARC="sqlmonarcuser"
|
|
|
|
DBPASSWORD_MONARC="sqlmonarcuser"
|
|
|
|
# Comment/Uncomment and modify the following line to run tests from your host machine:
|
|
|
|
CONNECTION_OPTIONS="--ssl-key=~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key"
|
2020-06-30 21:18:06 +02:00
|
|
|
#CONNECTION_OPTIONS=""
|
2020-05-18 23:56:07 +02:00
|
|
|
|
2020-06-30 21:18:06 +02:00
|
|
|
mysql -h $DBHOST -u $DBUSER_MONARC -p$DBPASSWORD_MONARC $CONNECTION_OPTIONS monarc_cli_test < tests/scripts/clean_client_database.sql > /dev/null
|