Ops Development & AI Practice
Ops Development & AI Practice
Jun 1, 2024 · Databases

How Go’s database/sql Injects MySQL Drivers: A Deep Dive

This article explains how Go’s standard database/sql package uses a driver registration mechanism to integrate third‑party MySQL drivers, detailing the global driver map, registration function, init process, and a complete example showing how to define, register, and use a custom MySQL driver.

GoMySQL driverdatabase/sql
0 likes · 7 min read
How Go’s database/sql Injects MySQL Drivers: A Deep Dive
Alibaba Cloud Native
Alibaba Cloud Native
Apr 28, 2021 · Backend Development

How Seata‑Golang Enables Distributed Transactions in Go Microservices

This article introduces Seata, a high‑performance open‑source distributed transaction solution, explains the Seata‑Golang 1.0.0 release and its demo at a Go meetup, details the core AT‑mode architecture, describes the MySQL driver that integrates Seata‑Golang, and outlines future plans for broader database support.

GoMySQL driverSeata
0 likes · 7 min read
How Seata‑Golang Enables Distributed Transactions in Go Microservices