3 This is a simple console-based SQL client.
4 It is database-agnostic, and should work with any database for which you have a JDBC driver.
12 Add your JDBC jar to your CLASSPATH, then:
13 $ java -jar ./target/squelch-0.1-SNAPSHOT-jar-with-dependencies.jar --help
17 $ java -jar squelch.jar -u chris -p passwordGoesHere -r postgresql:localhost/cfb
19 Note that it's more secure to put your password in a config file instead, for example:
21 $ cat >config.properties
23 db.password=passwordGoesHere
24 db.url=postgresql:localhost/cfb
26 $ java -jar squelch.jar --config config.properties
28 The code is available under the GNU General Public Licence (GPL) version 3, or (at your option) any later version.
29 See the file COPYING for details.
32 https://www.jaekl.net/chris/