-
Notifications
You must be signed in to change notification settings - Fork 18k
SQLDrivers
Aleksandr Sokolovskii edited this page Apr 22, 2018
·
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/apache-ignite/go-client
- Apache Phoenix/Avatica: https://github.com/Boostport/avatica
- 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: https://bitbucket.org/phiggins/db2cli
- DB2 LUW: 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
- 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
[**]
- 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
- Sybase SQL Anywhere: https://github.com/a-palchikov/sqlago
- Vitess: https://godoc.org/github.com/youtube/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.