...
Code Block |
---|
wget 'http://archive.apache.org/dist/db/derby/db-derby-10.9.1.0/db-derby-10.9.1.0-bin.tar.gz'
tar zxvf db-derby-10.9.1.0-bin.tar.gz
export PATH+=:$HOME/db-derby-10.9.1.0-bin/bin
which ij
# /home/redradish/db-derby-10.9.1.0-bin/bin/ij |
...
To auto-connect to a particular database, you need to create a properties file, and tell ij
to use it. For instance I created a ~/structure_offline.props
file to connect to the ~/structure_offline/db
Derby database, copied above:
Code Block | ||||
---|---|---|---|---|
| ||||
echo "ij.database=jdbc:derby:/home/redradish${HOME}/structure_offline/db" > ~/structure_offline/db.props |
and finally we connect:
Code Block |
---|
root@usw1-l-jira01:~# ij -p structure_offline.props ij version 10.9 CONNECTION0* - jdbc:derby:/home/redradish/structure_offline/db * = current connection ij> |
...