Registry / database / go-mysql-org-go-mysql

go-mysql-org-go-mysql

JSON →
library1.15.0gogounverified

A pure Go library to handle MySQL networking protocol and replication.

go get github.com/go-mysql-org/go-mysql
INSTALL
IMPORT
SIG · GO-MYSQL-ORG-GO-MY
G
go-mysql-org-go-mysql
databasegov1.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mysql
github.com/go-mysql-org/go-mysql

Connect to a MySQL server

package main import ( "fmt" "github.com/go-mysql-org/go-mysql/client" ) func main() { conn, err := client.Connect("127.0.0.1:3306", "root", "password", "test") if err != nil { panic(err) } defer conn.Close() fmt.Println("Connected!") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.15.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
go-mysql-org-go-mysql — go get go-mysql-org-go-mysql · libregistry