mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
Learn how go-sql-driver/mysql handles network failures with ErrBadConn. Discover when this error is returned and how it ensures connection pool reliability for your Go applications.
How go-sql-driver/mysql Implements driver.Validator and driver.SessionResetterDiscover how go-sql-driver/mysql implements driver.Validator and driver.SessionResetter for atomic closed flags, buffer status checks, and optional TCP liveness tests for efficient connection pooling.
The Interaction Between `allowFallbackToPlaintext` and `tls=preferred` in go-sql-driver/mysqlUnderstand how allowFallbackToPlaintext interacts with tls=preferred in go-sql-driver/mysql. Learn about automatic plaintext fallbacks when TLS is not supported.
How go-sql-driver/mysql Manages Connection Timeout, readTimeout, and writeTimeout SettingsLearn how go-sql-driver/mysql manages connection timeout, readTimeout, and writeTimeout. Understand context deadlines and per-operation socket settings for robust MySQL connections.
When to Use the `timeTruncate` DSN Parameter in go-sql-driver/mysqlLearn when to use the timeTruncate DSN parameter in go-sql-driver/mysql. Prevent precision mismatches by rounding down time values before sending them to MySQL.
BeforeConnect Callback in go-sql-driver/mysql: Use Cases and ImplementationExplore BeforeConnect callback use cases in go-sql-driver/mysql. Dynamically select databases, inject credentials, and configure session variables before establishing a MySQL connection.
MySQL Driver parseTime=false Behavior for DATE and DATETIME ColumnsExplore go-sql-driver/mysql parseTime=false behavior. Learn how DATE and DATETIME columns return as raw byte slices, preserving MySQL wire format for your application.
How `serverPubKey` Eliminates MITM Vulnerabilities in MySQL RSA AuthenticationLearn how go-sql-driver/mysql serverPubKey parameter prevents MITM attacks by using a pre-registered RSA public key for secure password encryption.
Charset vs Collation DSN Parameters in go-sql-driver/mysql: Impact ExplainedUnderstand the Charset vs Collation DSN parameters in go-sql-driver/mysql. Learn how character encoding and sorting rules impact your MySQL connections.
How the Go MySQL Driver Returns and Handles Multiple Result Sets from Multi-Statement ExecutionsLearn how the go-sql-driver/mysql returns multiple result sets from multi-statement executions. Discover efficient handling with HasNextResultSet and NextResultSet.
How to Use MySQL connectionAttributes in Go: Complete Implementation GuideLearn how to use MySQL connectionAttributes in Go with a complete implementation guide. Understand how this driver feature enables custom context and metadata reporting.
How go-sql-driver/mysql Secures LOAD DATA LOCAL INFILE RequestsSecure your LOAD DATA LOCAL INFILE requests with go-sql-driver/mysql. Discover its deny-by-default policy, explicit file registration, and secure reader abstractions.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →