-
Notifications
You must be signed in to change notification settings - Fork 18k
SQLDrivers
Paul Mundt edited this page Jan 5, 2019
·
81 revisions
The database/sql and database/sql/driver packages are designed for using databases from Go and implementing database drivers, respectively.
See the design goals doc:
Drivers for Go's sql package include:
- Apache Ignite/GridGain: https://github.com/amsokol/ignite-go-client
- Apache Avatica/Phoenix: https://github.com/apache/calcite-avatica-go
- AWS Athena: https://github.com/segmentio/go-athena
- ClickHouse (uses native TCP interface): https://github.com/kshvakov/clickhouse
- ClickHouse (uses HTTP API): https://github.com/mailru/go-clickhouse
- Couchbase N1QL: https://github.com/couchbase/go_n1ql
- DB2 LUW and DB2/Z with DB2-Connect: https://bitbucket.org/phiggins/db2cli (Last updated 2015-08)
- DB2 LUW (uses cgo): https://github.com/asifjalil/cli
- Firebird SQL: https://github.com/nakagami/firebirdsql
- MS ADODB: https://github.com/mattn/go-adodb
- MS SQL Server (pure go): https://github.com/denisenkom/go-mssqldb
- MS SQL Server (uses cgo): https://github.com/minus5/gofreetds
-
MySQL: https://github.com/ziutek/mymysql
[*]
-
MySQL: https://github.com/go-sql-driver/mysql/
[*]
- ODBC: https://bitbucket.org/miquella/mgodbc (Last updated 2016-02)
- ODBC: https://github.com/alexbrainman/odbc
- Oracle: https://github.com/mattn/go-oci8
- Oracle: https://gopkg.in/rana/ora.v4
- Oracle: https://gopkg.in/goracle.v2
- QL: http://godoc.org/github.com/cznic/ql/driver
-
Postgres (pure Go): https://github.com/lib/pq
[*]
- Postgres (uses cgo): https://github.com/jbarham/gopgsqldriver
-
Postgres (pure Go): https://github.com/jackc/pgx
[**]
- Presto: https://github.com/prestodb/presto-go-client
- SAP HANA (pure go): https://github.com/SAP/go-hdb
- Snowflake (pure Go): https://github.com/snowflakedb/gosnowflake
-
SQLite (uses cgo): https://github.com/mattn/go-sqlite3
[*]
- SQLite (uses cgo): https://github.com/gwenn/gosqlite - Supports SQLite dynamic data typing
- SQLite (uses cgo): https://github.com/mxk/go-sqlite
- SQLite: (uses cgo): https://github.com/rsc/sqlite
- SQL over REST: https://github.com/adaptant-labs/go-sql-rest-driver
- Sybase SQL Anywhere: https://github.com/a-palchikov/sqlago
- Vitess: https://godoc.org/vitess.io/vitess/go/vt/vitessdriver
- YQL (Yahoo! Query Language): https://github.com/mattn/go-yql
Drivers marked with [*]
are both included in and pass the compatibility test suite at https://github.com/bradfitz/go-sql-test.
Drivers marked with [**]
pass the compatibility test suite but are not currently included in it.