{"id":70736,"library":"gogf-mysql","title":"GoGF MySQL Driver","description":"A MySQL driver for Go's database/sql package, based on the popular go-sql-driver/mysql.","status":"active","version":"1.6.0","language":"go","source_language":null,"source_url":"https://github.com/gogf/mysql","tags":["mysql","database","sql","driver"],"install":[{"cmd":"go get github.com/gogf/mysql","lang":"bash","label":"Install github.com/gogf/mysql"}],"dependencies":[],"imports":[{"symbol":"mysql","correct":"github.com/gogf/mysql"}],"quickstart":{"code":"package main\n\nimport (\n\t\"database/sql\"\n\t\"fmt\"\n\t_ \"github.com/gogf/mysql\"\n)\n\nfunc main() {\n\tdb, err := sql.Open(\"mysql\", \"user:password@tcp(127.0.0.1:3306)/dbname\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer db.Close()\n\tfmt.Println(\"Connected\")\n}","lang":"go","description":"Open a MySQL database connection using database/sql."},"warnings":[{"fix":"Refer to the original driver documentation for version-specific notes.","message":"This driver is a fork of go-sql-driver/mysql; ensure compatibility with your MySQL version.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'/mysql':20 'base':12 'databas':22 'database/sql':10 'driver':3,6,19,24 'go':8,17 'go-sql-driv':16 'gogf':1 'mysql':2,5,21 'packag':11 'popular':15 'sql':18,23","created_at":"2026-06-17T18:18:30.384994+00:00","updated_at":"2026-06-17T18:18:30.384994+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/gogf/mysql","github":"https://github.com/gogf/mysql","docs":"https://pkg.go.dev/github.com/gogf/mysql#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}