-
Notifications
You must be signed in to change notification settings - Fork 18k
SQLDrivers
Jeremy Echols edited this page Jul 1, 2015
·
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:
-
MySQL: https://github.com/ziutek/mymysql
[*]
-
MySQL: https://github.com/go-sql-driver/mysql/
[*]
-
Postgres (pure Go): https://github.com/lib/pq
[*]
-
SQLite: https://github.com/mattn/go-sqlite3
[*]
- DB2: https://bitbucket.org/phiggins/db2cli
- MS ADODB: https://github.com/mattn/go-adodb
- ODBC: https://bitbucket.org/miquella/mgodbc
- ODBC: https://github.com/alexbrainman/odbc
- Oracle: https://github.com/mattn/go-oci8
- Oracle: https://github.com/rana/ora
- Postgres (uses cgo): https://github.com/jbarham/gopgsqldriver
- QL: http://godoc.org/github.com/cznic/ql/driver
- SQLite: https://github.com/mxk/go-sqlite
- Sybase SQL Anywhere: https://github.com/a-palchikov/sqlago
- MS SQL Server (pure go): https://github.com/denisenkom/go-mssqldb
- Firebird SQL: https://github.com/nakagami/firebirdsql
- Couchbase N1QL: https://github.com/couchbaselabs/go_n1ql
- YQL (Yahoo! Query Language): https://github.com/mattn/go-yql
- SAP HANA (pure go): https://github.com/SAP/go-hdb
Drivers marked with a [*]
are both included in and pass the compatibility test suite at https://github.com/bradfitz/go-sql-test