https://github.com/todesking/jcon
A generic JDBC console
https://github.com/todesking/jcon
Last synced: about 1 month ago
JSON representation
A generic JDBC console
- Host: GitHub
- URL: https://github.com/todesking/jcon
- Owner: todesking
- License: gpl-3.0
- Created: 2014-09-10T17:23:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-12T10:50:42.000Z (over 11 years ago)
- Last Synced: 2025-01-12T21:46:28.927Z (over 1 year ago)
- Language: Scala
- Size: 324 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JCON: Generic JDBC console
## Install
The project used [Conscript](https://github.com/n8han/conscript) package manager.
To install conscript, see [installation manual](https://github.com/n8han/conscript#installation).
And execute
```
cs todesking/jcon
```
## USAGE
### Common Options
* `--driver-dir `
* default: `~/.jcon/drivers/`
* `--driver-classes `
* ex: `--driver-classes com.example.specialdb,com.example.superdb.Driver`
### Connect to database
```
jcon [-p|--password ] [-u|--user ]
```
### List all available drivers
```
jcon --drivers
```
## Default bundled drivers
* Mysql
* `jdbc:mysql://host[:port][/database]`
* [Reference](http://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html)
* SQLite
* `jdbc:sqlite:/path/to/file`(file), `jdbc:sqlite::memory`(on-memory database)
* [Reference](https://bitbucket.org/xerial/sqlite-jdbc/wiki/Home)
* H2 Database Engine
* `jdbc:h2:/path/to/file` etc.
* [Reference](http://www.h2database.com/html/features.html#database_url)
* Postgres SQL Database
* `jdbc:postgressql:[//host[:port]/]database`
* [Reference](http://jdbc.postgresql.org/documentation/80/connect.html)
## Not bundled drivers
To use external drivers, put driver jars into jcon's drivers directory(default: `~/.jcon/drivers/`)
* Oracle
* [Download](http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html)
* SQL Server
* [Download](http://www.microsoft.com/ja-jp/download/details.aspx?id=11774)