{"repo":"go-sql-driver/mysql","free":true,"listed":false,"github":"https://github.com/go-sql-driver/mysql","clone":"git clone https://github.com/go-sql-driver/mysql.git","description":"Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package","language":"Go","stars":15268,"topics":["go","mysql","sql","database","mysql-driver","mariadb"],"license":"MPL-2.0","category":"databases-storage","readme_excerpt":"Go-MySQL-Driver A MySQL-Driver for Go's database/sql package --------------------------------------- Features Requirements Installation Usage DSN (Data Source Name) Password Protocol Address Parameters Examples Connection pool and timeouts context.Context Support ColumnType Support LOAD DATA LOCAL INFILE support time.Time support Unicode support Testing / Development License --------------------------------------- Features Lightweight and fast Native Go implementation. No C-bindings, just pure Go Connections over TCP/IPv4, TCP/IPv6, Unix domain sockets or custom protocols Automatic handling of broken connections Automatic Connection Pooling (by database/sql package) Supports queries larger than 16MB Full sql.RawBytes support. Intelligent LONG DATA handling in prepared statements Secure LOAD DATA LOCAL INFILE support with file allowlisting and io.Reader support Optional time.Time parsing Optional placeholder interpolation Supports zlib compression. Requirements Go 1.24 or higher. We aim to support the 3 latest versions of Go. MySQL (5.7+) and MariaDB (10.5+) are supported by maintainers. TiDB is supported by PingCAP. Do not ask questions about TiDB in our issue tracker or forum. Document Forum go-mysql would work with Percona Server, Google CloudSQL or Sphinx (2.2.3+). Maintainers won't support them. Do not expect issues are investigated and resolved by maintainers. Investigate issues yourself and please send a pull request to fix it. --------------------------------------- In","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-sql-driver","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-sql-driver/mysql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}