Thanks for the info. Here is what I unsuccessfully tried.
# cd .../jforum/WEB-INF/config/database/hsqldb
java -classpath ../../../lib/hsqldb-1.7.3.0.jar org.hsqldb.Server &
[Server@19189e1]: [
Thread[main,5,main]]: checkRunning(false) entered
[Server@19189e1]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@19189e1]: Startup sequence initiated from main() method
[Server@19189e1]: Loaded properties from [/opt/SUNWwbsvr/https-ilsdev15.red.iplanet.com/webapps/https-ilsdev15.red.iplanet.com/jforum/WEB-INF/config/database/hsqldb/server.properties]
[Server@19189e1]: Initiating startup sequence...
[Server@19189e1]: Server socket opened successfully in 42 ms.
[Server@19189e1]: Database [index=0, id=0, db=file:test, alias=] opened sucessfully in 1202 ms.
[Server@19189e1]: Startup sequence completed in 1299 ms.
[Server@19189e1]: 2005-03-15 18:59:27.112 HSQLDB server 1.7.3 is online
[Server@19189e1]: To close normally, connect and execute SHUTDOWN SQL
[Server@19189e1]: From command line, use [Ctrl]+[C] to abort abruptly
*** At this point, hsqldb creates a test database in the directory I'm in.
Should I create a server.properties files? If yes, what should it look like?
# cat /sqltool.rc
urlid localhost-sa
url
jdbc:hsqldb:hsql://localhost
username sa
password mypassword
# java -jar ../../../lib/hsqldb-1.7.3.0.jar localhost-sa
Failed to get a connection to jdbc:hsqldb:hsql://localhost as sa. Access is denied
*** I believe I fail to connect to the JForum db because the hsqldb server started up connected to the test db whereas I want to connect to the JForum db.
Any suggestions?
[originally posted on jforum.net by Anonymous]