Blame SOURCES/hsqldb-1.8.0-standard-sqltool.rc

100e1c
# $Id: hsqldb-1.73.0-standard-sqltool.rc,v 1.1 2004/12/23 22:21:08 fnasser Exp $
100e1c
100e1c
# This is a sample SqlTool configuration file, a.k.a. rc file.
100e1c
100e1c
# You can run SqlTool right now by copying this file to your home directory
100e1c
# and running
100e1c
#    java -jar /path/to/hsqldb.jar mem
100e1c
# This will access the first urlid definition below in order to use a 
100e1c
# personal Memory-Only database.
100e1c
100e1c
# If you have the least concerns about security, then secure access to
100e1c
# your sqltool.rc file.
100e1c
# See the documentation for SqlTool for various ways to use this file.
100e1c
100e1c
# A personal Memory-Only database.
100e1c
urlid mem
100e1c
url jdbc:hsqldb:mem:memdbid
100e1c
username sa
100e1c
password
100e1c
100e1c
# This is for a hsqldb Server running with default settings on your local
100e1c
# computer (and for which you have not changed the password for "sa").
100e1c
urlid db0-url
100e1c
url jdbc:hsqldb:hsql://localhost/firstdb
100e1c
username sa
100e1c
password
100e1c
100e1c
100e1c
###########################################################################
100e1c
# Template for a urlid for an Oracle database.
100e1c
# You will need to put the oracle.jdbc.OracleDriver class into your 
100e1c
# classpath.
100e1c
# In the great majority of cases, you want to use the file classes12.zip
100e1c
# (which you can get from the directory $ORACLE_HOME/jdbc/lib of any
100e1c
# Oracle installation compatible with your server).
100e1c
# Since you need to add to the classpath, you can't invoke SqlTool with
100e1c
# the jar switch, like "java -jar .../hsqldb.jar..." or 
100e1c
# "java -jar .../hsqlsqltool.jar...".
100e1c
# Put both the HSQLDB jar and classes12.zip in your classpath (and export!)
100e1c
# and run something like "java org.hsqldb.util.SqlTool...".
100e1c
100e1c
#urlid cardiff2
100e1c
#url jdbc:oracle:thin:@aegir.admc.com:1522:TRAFFIC_SID
100e1c
#username blaine
100e1c
#password secretpassword
100e1c
#driver oracle.jdbc.OracleDriver
100e1c
###########################################################################
100e1c
100e1c
100e1c
###########################################################################
100e1c
# Template for a urlid for a Postgresql database.
100e1c
# You will need to put the org.postgresql.Driver class into your 
100e1c
# classpath.
100e1c
# The postgresql jar will be named postgresql.jar (if you built Postgresql 
100e1c
# from source), or something like pg73b1jdbc3.jar or jdbc7.2x-1.2.jar.
100e1c
# You can obtain it from a client or server Postgresql installation, or 
100e1c
# download it from http://jdbc.postgresql.org/download.html.
100e1c
# Notice that the jar file names (other than "postgresql.jar") contain both
100e1c
# the target Postgresql server version and the client-side JDBC level (which
100e1c
# is determined by your client-side Java version, as explained at
100e1c
# http://jdbc.postgresql.org/download.html).
100e1c
# I recommend the latest production version for your JDBC version.  The 
100e1c
# later JDBC drivers work better even with older Postgresql servers.
100e1c
# (E.g. \dt won't list owners with an older driver).
100e1c
# N.b.: Suse Linux 9.1 users should download a new driver from the PG site,
100e1c
# since Suse distributes the 7.3 drivers with Postgresql 7.4 (why???).
100e1c
# Since you need to add to the classpath, you can't invoke SqlTool with
100e1c
# the jar switch, like "java -jar .../hsqldb.jar..." or 
100e1c
# "java -jar .../hsqlsqltool.jar...".
100e1c
# Put both the HSQLDB jar and the Postgresql jar in your classpath (and
100e1c
# export!) and run something like "java org.hsqldb.util.SqlTool...".
100e1c
# N.b.:  I notice that Postgresql is unusual in that it does not do an
100e1c
# implicit commit before DDL commands.  If you get an error message 
100e1c
# "... cannot run inside a transaction block", just run "commit;" and retry.
100e1c
100e1c
#urlid commerce
100e1c
#url jdbc:postgresql://dbsvr2/commercedb
100e1c
#username blaine
100e1c
#password obscured
100e1c
#driver org.postgresql.Driver
100e1c
###########################################################################
100e1c
100e1c
100e1c
###########################################################################
100e1c
# Template for a TLS-encrypted HSQLDB Server.
100e1c
# Remember that the hostname in hsqls (and https) JDBC URLs must match the
100e1c
# CN of the server certificate (the port and instance alias that follows 
100e1c
# are not part of the certificate at all).
100e1c
# You only need to set "truststore" if the server cert is not approved by
100e1c
# your system default truststore (which a commercial certificate probably
100e1c
# would be).
100e1c
100e1c
#urlid tls
100e1c
#url jdbc:hsqldb:hsqls://db.admc.com:9001/lm2
100e1c
#username blaine
100e1c
#password asecret
100e1c
#truststore /home/blaine/ca/db/db-trust.store
100e1c
###########################################################################