krummas / DrizzleJDBC

A BSD licensed JDBC driver for Drizzle and MySQL
BSD 3-Clause "New" or "Revised" License
31 stars 22 forks source link

Drizzle JDBC

A BSD Licensed JDBC driver for MySQL and Drizzle.

Maven

<dependency>
    <groupId>org.drizzle.jdbc</groupId>
    <artifactId>drizzle-jdbc</artifactId>
    <version>1.2</version>
</dependency>

Driver class

org.drizzle.jdbc.DrizzleDriver

Connection string

jdbc:drizzle://<user>@<host>:<port>/<database>

or

jdbc:mysql:thin://<user>@<host>:<port>/<database>

Connection options

Connection options are appended to the connection string, like a http url.

Current supported options are;

Building and testing

To test you need to have:

each server also needs to have a database callet test_units_jdbc and for the mysql one, full read/write rights to an anonymous user.

To build it without running tests, simply do mvn -Dmaven.test.skip=true package