Skip to content

Commit

Permalink
Adding database selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalevan committed Nov 16, 2016
1 parent 88e7262 commit c081910
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Backbone
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
clusters:
- qlink:
image: philcollins/quantumlink
nerves: 1
synapses:
- resource: qlink_db
type: database
Expand Down
2 changes: 1 addition & 1 deletion dockerrun
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ done

retcode=-1
while (($retcode != 0)); do
mysql -umysos -h127.0.0.1 -P3306 --password="${QLINK_DB_PASSWORD}" < ./schema.sql
mysql -umysos -h127.0.0.1 -P3306 -Dqlink --password="${QLINK_DB_PASSWORD}" < ./schema.sql
retcode=${?}
done

Expand Down

0 comments on commit c081910

Please sign in to comment.