Skip to content

todesking/jcon

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/)

About

A generic JDBC console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages