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 | |
| 13 | * **MySQL**: https://github.com/ziutek/mymysql ` [*] ` |
| 14 | * **MySQL**: https://github.com/go-sql-driver/mysql/ ` [*] ` |
| 15 | * **Postgres** (pure Go): https://github.com/lib/pq ` [*] ` |
| 16 | * **SQLite**: https://github.com/mattn/go-sqlite3 ` [*] ` |
| 17 | * **DB2**: https://bitbucket.org/phiggins/db2cli |
| 18 | * **MS ADODB**: https://github.com/mattn/go-adodb |
| 19 | * **ODBC**: https://bitbucket.org/miquella/mgodbc |
| 20 | * **ODBC**: https://code.google.com/p/odbc |
| 21 | * **Oracle**: https://github.com/mattn/go-oci8 |
| 22 | * **Postgres** (uses cgo): https://github.com/jbarham/gopgsqldriver |
| 23 | * **QL**: http://godoc.org/github.com/cznic/ql/driver |
| 24 | * **SQLite**: https://github.com/mxk/go-sqlite |
| 25 | * **Sybase SQL Anywhere**: https://github.com/a-palchikov/sqlago |
| 26 | * **MS SQL Server** (pure go): https://github.com/denisenkom/go-mssqldb |
| 27 | * **Firebird SQL**: https://github.com/nakagami/firebirdsql |
Manik Taneja | ddd91aa | 2015-01-27 22:20:23 +0530 | [diff] [blame] | 28 | * **Couchbase N1QL**: https://github.com/couchbaselabs/go_n1ql |
mattn | 5b49c34 | 2015-03-17 15:15:20 +0900 | [diff] [blame] | 29 | * **YQL (Yahoo! Query Language)**: https://github.com/mattn/go-yql |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 30 | |
| 31 | Drivers marked with a ` [*] ` are both included in and pass the compatibility test suite at https://github.com/bradfitz/go-sql-test |