blob: e515d37aaccff43321066f1de4accd1b15bd377f [file] [log] [blame] [view]
Andrew Gerrand5bc444d2014-12-10 11:35:11 +11001# SQL database drivers
2
3The database/sql and database/sql/driver packages are designed for using databases from Go and implementing database drivers, respectively.
4
5See the design goals doc:
6
7> http://golang.org/src/pkg/database/sql/doc.txt
8
9# Drivers
10
11Drivers for Go's sql package include:
12
Francis Chuang55ad4932016-05-19 08:56:22 +100013 * **Apache Phoenix/Avatica**: https://github.com/Boostport/avatica
Kirill Shvakovdc2eb882017-01-13 10:51:05 +020014 * **ClickHouse**: https://github.com/kshvakov/clickhouse
Manik Taneja6e353202016-01-14 23:33:16 +053015 * **Couchbase N1QL**: https://github.com/couchbase/go_n1ql
Hǎiliàng Wáng2bdc4712015-07-03 15:11:43 +080016 * **DB2**: https://bitbucket.org/phiggins/db2cli
17 * **Firebird SQL**: https://github.com/nakagami/firebirdsql
18 * **MS ADODB**: https://github.com/mattn/go-adodb
19 * **MS SQL Server** (pure go): https://github.com/denisenkom/go-mssqldb
Igor Anić80c8bd82016-02-24 14:26:23 +010020 * **MS SQL Server** (uses cgo): https://github.com/minus5/gofreetds
Andrew Gerrand5bc444d2014-12-10 11:35:11 +110021 * **MySQL**: https://github.com/ziutek/mymysql ` [*] `
22 * **MySQL**: https://github.com/go-sql-driver/mysql/ ` [*] `
Andrew Gerrand5bc444d2014-12-10 11:35:11 +110023 * **ODBC**: https://bitbucket.org/miquella/mgodbc
Jeremy Echolse226e5d2015-07-01 12:42:50 -070024 * **ODBC**: https://github.com/alexbrainman/odbc
Andrew Gerrand5bc444d2014-12-10 11:35:11 +110025 * **Oracle**: https://github.com/mattn/go-oci8
Rana Ian79ef1ed2015-05-31 16:01:33 -070026 * **Oracle**: https://github.com/rana/ora
Andrew Gerrand5bc444d2014-12-10 11:35:11 +110027 * **QL**: http://godoc.org/github.com/cznic/ql/driver
Hǎiliàng Wáng2bdc4712015-07-03 15:11:43 +080028 * **Postgres** (pure Go): https://github.com/lib/pq ` [*] `
29 * **Postgres** (uses cgo): https://github.com/jbarham/gopgsqldriver
Alex Davies-Moorecf922352015-10-03 10:21:54 +010030 * **Postgres** (pure Go): https://github.com/jackc/pgx
Hǎiliàng Wáng2bdc4712015-07-03 15:11:43 +080031 * **SAP HANA** (pure go): https://github.com/SAP/go-hdb
32 * **SQLite**: https://github.com/mattn/go-sqlite3 ` [*] `
Justin Cliftd2145942016-11-24 01:37:22 +000033 * **SQLite**: https://github.com/gwenn/gosqlite - Supports SQLite dynamic data typing
Andrew Gerrand5bc444d2014-12-10 11:35:11 +110034 * **SQLite**: https://github.com/mxk/go-sqlite
35 * **Sybase SQL Anywhere**: https://github.com/a-palchikov/sqlago
Michael Berlin713eec32015-12-13 19:16:39 -080036 * **Vitess**: https://godoc.org/github.com/youtube/vitess/go/vt/vitessdriver
mattn5b49c342015-03-17 15:15:20 +090037 * **YQL (Yahoo! Query Language)**: https://github.com/mattn/go-yql
Andrew Gerrand5bc444d2014-12-10 11:35:11 +110038
39Drivers marked with a ` [*] ` are both included in and pass the compatibility test suite at https://github.com/bradfitz/go-sql-test