Go MySQL

Open-source Go projects categorized as MySQL

Top 23 Go MySQL Projects

  • Gogs

    Gogs is a painless self-hosted Git service

  • Project mention: Go's old $GOPATH story for development and dependencies | news.ycombinator.com | 2024-05-24

    Yeah, I'm actually doing that with Gitea: https://about.gitea.com/

    Some people went with the forgejo fork: https://forgejo.org/ though Gitea itself was a fork of Gogs, if I remember correctly: https://gogs.io/

    I also ran GitLab in the past: https://about.gitlab.com/ but keeping it updated and giving it enough resources for it to be happy was troublesome.

    There's also GitBucket: https://gitbucket.github.io/ and some other platforms, though those tend to be a little bit more niche.

    Either way, there's lots of nice options out there, albeit I'd still have to admit that just using GitHub or cloud GitLab version would be easier for most folks. Convenience and all.

  • tidb

    TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial

  • Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09

    tidb has been around for a while, it is distributed, written in Go and Rust, and MySQL compatible. https://github.com/pingcap/tidb

    Somewhat relatedly, StarRocks is also MySQL compatible, written in Java and C++, but it's tackling OLAP use-cases. https://github.com/StarRocks/starrocks

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • vitess

    Vitess is a database clustering system for horizontal scaling of MySQL.

  • Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09

    With Vitess likely merging a lot of its binaries into a single unified binary: https://github.com/vitessio/vitess/issues/7471#issuecomment-...

    ... it would be a wild future if Vitess replaced the underlying MySQL engine with this as long as the performance is good enough.

  • dolt

    Dolt – Git for Data

  • Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09

    Hi, this is my project :)

    For us this package is most important as the query engine that powers Dolt:

    https://github.com/dolthub/dolt

    We aren't the original authors but have contributed the vast majority of its code at this point. Here's the origin story if you're interested:

    https://www.dolthub.com/blog/2020-05-04-adopting-go-mysql-se...

  • go-sql-driver/mysql

    Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)

  • migrate

    Database migrations. CLI and Golang library.

  • Project mention: Use Golang Migrate on Docker Compose | dev.to | 2024-05-27

    Here is the documentation how to install it.

  • gh-ost

    GitHub's Online Schema-migration Tool for MySQL

  • Project mention: "At GitHub we do not use foreign keys, ever, anywhere" | news.ycombinator.com | 2024-01-22
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • sqlc

    Generate type-safe code from SQL

  • Project mention: Show HN: Riza – Safely run untrusted code from your app | news.ycombinator.com | 2024-04-30

    Hi HN, I’m Kyle and together with Andrew (https://news.ycombinator.com/user?id=stanleydrew) we’ve been working on Riza (https://riza.io), a project to make WASM sandboxing more approachable. We’re excited to share a developer preview of our code interpreter API with HN.

    There’s a bit of a backstory here. A few months ago, an old coworker reached out asking how to execute untrusted code generated by an LLM. Based on our experience building a plugin system for sqlc (https://sqlc.dev), we thought a sandboxed WASM runtime would be a good fit. A bit of hacking later, we got everything wired up to solve his issue. Now the API is ready for other developers to try out.

    The Riza Code Interpreter API is an HTTP interface to various dynamic language interpreters, each running inside a WASM sandbox without access to the outside world (for now). We modeled the API to align with a POSIX shell-style interface.

    We made a playground so you can try it out without signing up: https://riza.io

    The API documentation lives here: https://docs.riza.io

    There are many limitations at the moment, but we expect to rapidly expand capabilities so that programs can e.g. access the network and filesystem. Our roadmap has more details: https://docs.riza.io/reference/roadmap

    If you need to execute LLM-generated code we’d love to have you try the API and let us know if you run into any issues. You can email us directly at [email protected].

  • bytebase

    The GitHub/GitLab for database DevOps. World's most advanced database DevOps and CI/CD for Developer, DBA and Platform Engineering teams.

  • Project mention: Bytebase: CI/CD for Databases | news.ycombinator.com | 2024-05-28
  • go-clean-arch

    Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture

  • usql

    Universal command-line interface for SQL databases

  • Project mention: From GUI to CLI: Transforming my query workflow with usql and jq | dev.to | 2024-05-15

    Since some of the databases I was interacting were postgres, I started to play around with psql. It felt amazing, it had a great integration with the terminal, no visual pollution, I could also use vim as my query editor, and it was blazing fast. The problem was that only some of the databases I was interacting were postgres. I needed something that could connect to multiple databases, something universal, so I don't have to invest time in new tooling all the time. So I searched on github "universal sql" and I felt in love with usql.

  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

  • Project mention: Eradicating N+1s: The Two-Phase Data Load and Render Pattern in Go | news.ycombinator.com | 2024-05-28

    If you're using Go, sqlboiler can do this for you in most common cases (e.g., fetch all the Users matching this filter, and for each User, fetch the related Company)

    https://github.com/volatiletech/sqlboiler

  • kingshard

    A high-performance MySQL proxy

  • goose

    A database migration tool. Supports SQL migrations and Go functions.

  • Project mention: GORM and Goose Migrations | dev.to | 2024-05-12

    Let's get started with handling migrations in Go with GORM and Goose.

  • orchestrator

    MySQL replication topology management and HA

  • octosql

    OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.

  • Project mention: Wazero: Zero dependency WebAssembly runtime written in Go | news.ycombinator.com | 2023-07-01

    Never got it to anything close to a finished state, instead moving on to doing the same prototype in llvm and then cranelift.

    That said, here's some of the wazero-based code on a branch - https://github.com/cube2222/octosql/tree/wasm-experiment/was...

    It really is just a very very basic prototype.

  • dbmate

    :rocket: A lightweight, framework-agnostic database migration tool.

  • Project mention: Ask HN: What tool(s) do you use to code review and deploy SQL scripts? | news.ycombinator.com | 2024-04-14

    A regular code repo with the scripts (with pull/merge requests for review) and then a CI job that builds containers with something like dbmate https://github.com/amacneil/dbmate that can then be run against any staging/prod environment.

  • space-cloud

    Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes

  • Project mention: ⚡⚡ Level Up Your Cloud Experience with These 7 Open Source Projects 🌩️ | /r/Cloud | 2023-12-07

    Space Cloud

  • xo

    Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server (by xo)

  • Project mention: Open-sourcing SQX, a way to build flexible database models in Go | news.ycombinator.com | 2023-09-02

    i like xo's approach https://github.com/xo/xo but it is as is. I would love if something similar comes along that is used by db practititoners that is actively used and supported.

  • upper.io/db

    Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

  • goxygen

    Generate a modern Web project with Go and Angular, React, or Vue in seconds 🎲

  • Project mention: Goxygen v0.6.0 is released adding support for Go 1.20 | /r/golang | 2023-06-30
  • bun

    SQL-first Golang ORM (by uptrace)

  • tbls

    tbls is a CI-Friendly tool for document a database, written in Go.

  • Project mention: FLaNK 25 December 2023 | dev.to | 2023-12-26
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go MySQL related posts

  • Eradicating N+1s: The Two-Phase Data Load and Render Pattern in Go

    4 projects | news.ycombinator.com | 28 May 2024
  • Bytebase: CI/CD for Databases

    1 project | news.ycombinator.com | 28 May 2024
  • From GUI to CLI: Transforming my query workflow with usql and jq

    2 projects | dev.to | 15 May 2024
  • Ask HN: What tool(s) do you use to code review and deploy SQL scripts?

    5 projects | news.ycombinator.com | 14 Apr 2024
  • A MySQL compatible database engine written in pure Go

    10 projects | news.ycombinator.com | 9 Apr 2024
  • Features I wish PostgreSQL had as a developer

    1 project | news.ycombinator.com | 5 Apr 2024
  • Ask HN: Startup Devs -What's your biggest pain while managing cloud deployments?

    6 projects | news.ycombinator.com | 27 Mar 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 29 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source MySQL projects in Go? This list will help you:

Project Stars
1 Gogs 44,283
2 tidb 36,294
3 vitess 17,937
4 dolt 17,113
5 go-sql-driver/mysql 14,234
6 migrate 14,223
7 gh-ost 12,047
8 sqlc 11,247
9 bytebase 10,238
10 go-clean-arch 8,781
11 usql 8,665
12 SQLBoiler 6,486
13 kingshard 6,344
14 goose 5,951
15 orchestrator 5,520
16 octosql 4,709
17 dbmate 4,406
18 space-cloud 3,902
19 xo 3,584
20 upper.io/db 3,485
21 goxygen 3,362
22 bun 3,203
23 tbls 3,115

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com