Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This article is just starting.

Starting

Script,

\#\!/bin/bash
cd /opt/hsqldb
echo $(date) >nohup.out
nohup java \-cp lib/hsqldb.jar org.hsqldb.Server \-database.0 file:data/BrandingDB \-dbname.0 BrandingDB &

versus HSQLDB manual,

export CLASSPATH; CLASSPATH=/path/to/hsqldb/lib/hsqldb.jar
nohup java org.hsqldb.Server &

Stopping

Script,

cd /opt/hsqldb
java -jar lib/hsqldb.jar --sql "shutdown;" --rcFile ./sqltool.rc localhost-sa

versus HSQLDB manual.

Resources

http://hsqldb.org/doc/2.0/guide/unix-chapt.html - start here and simplify these instructions.

  • No labels