{"id":68173,"library":"dolthub-go-mysql-server","title":"Go MySQL Server","description":"A MySQL-compatible server implementation in Go, allowing you to run MySQL queries against custom backends.","status":"active","version":"0.20.0","language":"go","source_language":null,"source_url":"https://github.com/dolthub/go-mysql-server","tags":["mysql","database","server","sql"],"install":[{"cmd":"go get github.com/dolthub/go-mysql-server","lang":"bash","label":"Install github.com/dolthub/go-mysql-server"}],"dependencies":[],"imports":[{"symbol":"sqle","correct":"github.com/dolthub/go-mysql-server"}],"quickstart":{"code":"package main\n\nimport (\n\t\"log\"\n\tsqle \"github.com/dolthub/go-mysql-server\"\n\t\"github.com/dolthub/go-mysql-server/memory\"\n\t\"github.com/dolthub/go-mysql-server/server\"\n)\n\nfunc main() {\n\tdb := memory.NewDatabase(\"test\")\n\tdb.AddTable(\"mytable\", memory.NewTable(\"mytable\",\n\t\tsql.NewSchema(sql.Column{Name: \"id\", Type: sql.Int64}),\n\t))\n\tengine := sqle.NewDefault(db)\n\tconfig := server.Config{Protocol: \"tcp\", Address: \"localhost:3306\"}\n\ts, err := server.NewDefaultServer(config, engine)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tif err := s.Start(); err != nil {\n\t\tlog.Fatal(err)\n\t}\n}","lang":"go","description":"Creates an in-memory database and starts a MySQL-compatible server."},"warnings":[],"env_vars":null,"search_vec":"'allow':12 'backend':20 'compat':7 'custom':19 'databas':22 'go':1,11 'implement':9 'mysql':2,6,16,21 'mysql-compat':5 'queri':17 'run':15 'server':3,8,23 'sql':24","created_at":"2026-06-17T17:46:24.342150+00:00","updated_at":"2026-06-17T17:46:24.342150+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/dolthub/go-mysql-server","github":"https://github.com/dolthub/go-mysql-server","docs":"https://pkg.go.dev/github.com/dolthub/go-mysql-server#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}}