Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 1 | # SQL database drivers |
| 2 | |
| 3 | The database/sql and database/sql/driver packages are designed for using databases from Go and implementing database drivers, respectively. |
| 4 | |
| 5 | See the design goals doc: |
| 6 | |
| 7 | > http://golang.org/src/pkg/database/sql/doc.txt |
| 8 | |
| 9 | # Drivers |
| 10 | |
| 11 | Drivers for Go's sql package include: |
| 12 | |
Aleksandr Sokolovskii | f33f1e6 | 2018-04-23 22:56:47 +0300 | [diff] [blame^] | 13 | * **Apache Ignite/GridGain**: https://github.com/amsokol/ignite-go-client |
Francis Chuang | 55ad493 | 2016-05-19 08:56:22 +1000 | [diff] [blame] | 14 | * **Apache Phoenix/Avatica**: https://github.com/Boostport/avatica |
Alexey Palazhchenko | e998315 | 2017-09-19 15:59:21 +0300 | [diff] [blame] | 15 | * **ClickHouse** (uses [native TCP interface](https://clickhouse.yandex/docs/en/interfaces/tcp.html)): https://github.com/kshvakov/clickhouse |
| 16 | * **ClickHouse** (uses [HTTP API](https://clickhouse.yandex/docs/en/interfaces/http_interface.html)): https://github.com/mailru/go-clickhouse |
Manik Taneja | 6e35320 | 2016-01-14 23:33:16 +0530 | [diff] [blame] | 17 | * **Couchbase N1QL**: https://github.com/couchbase/go_n1ql |
Hǎiliàng Wáng | 2bdc471 | 2015-07-03 15:11:43 +0800 | [diff] [blame] | 18 | * **DB2**: https://bitbucket.org/phiggins/db2cli |
Asif Jalil | f0c238c | 2018-03-27 09:11:49 -0400 | [diff] [blame] | 19 | * **DB2 LUW**: https://github.com/asifjalil/cli |
Hǎiliàng Wáng | 2bdc471 | 2015-07-03 15:11:43 +0800 | [diff] [blame] | 20 | * **Firebird SQL**: https://github.com/nakagami/firebirdsql |
| 21 | * **MS ADODB**: https://github.com/mattn/go-adodb |
| 22 | * **MS SQL Server** (pure go): https://github.com/denisenkom/go-mssqldb |
Igor Anić | 80c8bd8 | 2016-02-24 14:26:23 +0100 | [diff] [blame] | 23 | * **MS SQL Server** (uses cgo): https://github.com/minus5/gofreetds |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 24 | * **MySQL**: https://github.com/ziutek/mymysql ` [*] ` |
| 25 | * **MySQL**: https://github.com/go-sql-driver/mysql/ ` [*] ` |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 26 | * **ODBC**: https://bitbucket.org/miquella/mgodbc |
Jeremy Echols | e226e5d | 2015-07-01 12:42:50 -0700 | [diff] [blame] | 27 | * **ODBC**: https://github.com/alexbrainman/odbc |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 28 | * **Oracle**: https://github.com/mattn/go-oci8 |
Tamás Gulácsi | 32f20cb | 2018-04-14 08:19:49 +0200 | [diff] [blame] | 29 | * **Oracle**: https://gopkg.in/rana/ora.v4 |
| 30 | * **Oracle**: https://gopkg.in/goracle.v2 |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 31 | * **QL**: http://godoc.org/github.com/cznic/ql/driver |
Hǎiliàng Wáng | 2bdc471 | 2015-07-03 15:11:43 +0800 | [diff] [blame] | 32 | * **Postgres** (pure Go): https://github.com/lib/pq ` [*] ` |
| 33 | * **Postgres** (uses cgo): https://github.com/jbarham/gopgsqldriver |
mathew | fe0c343 | 2018-02-23 08:43:24 -0600 | [diff] [blame] | 34 | * **Postgres** (pure Go): https://github.com/jackc/pgx ` [**] ` |
Hǎiliàng Wáng | 2bdc471 | 2015-07-03 15:11:43 +0800 | [diff] [blame] | 35 | * **SAP HANA** (pure go): https://github.com/SAP/go-hdb |
Tyler Jones | a348b9c | 2018-01-31 23:43:05 -0500 | [diff] [blame] | 36 | * **Snowflake** (pure Go): https://github.com/snowflakedb/gosnowflake |
Manolis Kamilakis | bc6e348 | 2017-12-28 10:26:41 +0200 | [diff] [blame] | 37 | * **SQLite** (uses cgo): https://github.com/mattn/go-sqlite3 ` [*] ` |
| 38 | * **SQLite** (uses cgo): https://github.com/gwenn/gosqlite - Supports SQLite dynamic data typing |
Jacob Marble | d2438af | 2018-03-04 15:47:22 -0800 | [diff] [blame] | 39 | * **SQLite** (uses cgo): https://github.com/mxk/go-sqlite |
| 40 | * **SQLite**: (uses cgo): https://github.com/rsc/sqlite |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 41 | * **Sybase SQL Anywhere**: https://github.com/a-palchikov/sqlago |
Michael Berlin | 713eec3 | 2015-12-13 19:16:39 -0800 | [diff] [blame] | 42 | * **Vitess**: https://godoc.org/github.com/youtube/vitess/go/vt/vitessdriver |
mattn | 5b49c34 | 2015-03-17 15:15:20 +0900 | [diff] [blame] | 43 | * **YQL (Yahoo! Query Language)**: https://github.com/mattn/go-yql |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 44 | |
mathew | fe0c343 | 2018-02-23 08:43:24 -0600 | [diff] [blame] | 45 | Drivers marked with ` [*] ` are both included in and pass the compatibility test suite at https://github.com/bradfitz/go-sql-test. |
| 46 | Drivers marked with ` [**] ` pass the compatibility test suite but are not currently included in it. |