A generic JDBC console
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src/main
.gitignore
LICENSE
README.md
build.sbt
fooo.mv.db
scalastyle-config.xml

README.md

JCON: Generic JDBC console

Install

The project used Conscript package manager. To install conscript, see installation manual.

And execute

cs todesking/jcon

USAGE

Common Options

  • --driver-dir <dir>
    • default: ~/.jcon/drivers/
  • --driver-classes <classes>
    • ex: --driver-classes com.example.specialdb,com.example.superdb.Driver

Connect to database

jcon [-p|--password <password>] [-u|--user <user>] <jdbc_url>

List all available drivers

jcon --drivers

Default bundled drivers

  • Mysql
    • jdbc:mysql://host[:port][/database]
    • Reference
  • SQLite
    • jdbc:sqlite:/path/to/file(file), jdbc:sqlite::memory(on-memory database)
    • Reference
  • H2 Database Engine
  • Postgres SQL Database
    • jdbc:postgressql:[//host[:port]/]database
    • Reference

Not bundled drivers

To use external drivers, put driver jars into jcon's drivers directory(default: ~/.jcon/drivers/)