Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more β
Top 23 Go MySQL Projects
-
Project mention: Revolutionize Your Workflow: Gogs, the Self-Hosted Git Server You've Been Waiting For! | dev.to | 2025-04-20
View the Project on GitHub
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
tidb
TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
Project mention: RocksDB: Your Key-Value Store Powerhouse (and Why You Should Care) | dev.to | 2025-02-16TiDB: https://pingcap.com/
-
> I am wondering, why it took so long for something like this to happen for Postgres
> We were thinking about adding PostgreSQL support to Vitess several years ago. However, we realized that it would be more efficient if each tool was focused on a specific task.
https://github.com/vitessio/vitess/issues/7084#issuecomment-...
-
Before Dolt appeared on my radar, I thought this problem was non-trivial, and very difficult to implement: Whenever a fork occurs, or blocks arrive at your node that conflict with your current chain, you have to validate these new blocks against a snapshot of your data at a specific point in time. This point in time is determined by the parent block hash of the incoming blocks. This requirement for "time-travel" has always deterred me from attempting my own blockchain implementation. I know that there are blockchains out there that have (maybe?) solved this, but I'm not as good as a programmer as those guys. If you're anything like me, maybe you can relate.
-
Project mention: Mastering Database Migrations in Go with golang-migrate and SQLite | dev.to | 2025-04-14
Managing database changes is critical for any software project. This guide walks you through using golang-migrate with SQLite in Go to handle migrations cleanly and consistently.
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)
Next, we need to install some dependencies. We already know we are using MySQL as our database, thus, we need to install the MySQL driver for Golang.
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
bytebase
World's most advanced database DevSecOps solution for Developer, Security, DBA and Platform Engineering teams. The GitHub/GitLab for database DevSecOps.
Project mention: Postgres π vs. SQL Server: a Complete Comparison βοΈ in 2025 | dev.to | 2025-04-01This post is maintained by Bytebase, an open-source database DevSecOps tool that can manage both Postgres and SQL Server. We update the post every year.
-
https://dev.to/booscaaa/implementando-clean-architecture-com-golang-4n0a https://github.com/golang-standards/project-layout https://blog.boot.dev/golang/golang-project-structure/ https://github.com/bnkamalesh/goapp https://www.wolfe.id.au/2020/03/10/how-do-i-structure-my-go-project/ https://blog.logrocket.com/flat-structure-vs-layered-architecture-structuring-your-go-app/ https://developer20.com/how-to-structure-go-code/ https://dev.to/jinxankit/go-project-structure-and-guidelines-4ccm https://github.com/bxcodec/go-clean-arch https://golangexample.com/example-go-clean-architecture-folder-pattern/ https://www.calhoun.io/flat-application-structure/ https://go.dev/doc/effective_go#names https://go.dev/blog/package-names
-
frameworks / ORM are just specilized database graphical user interface front ends designed to simplify how data is displayed/inputed
Database management systems usually provide a way of importing/exporting 'raw' data via sql statement(s) results. aka cvs, comma delimited, html formatted, json formatted, etc. aka do command line sql query with 'html formatted output' and open results of file in a brower.
postgres psql provides an interactive 'cli' environment; windows sql server - sqlcmd;
usql[1] provides something similar to psql for no-sql databases.
sqlc is sorta the equivalent of combining the command line shell & sql queries. SQLx rust is rust extention for handling 'sql from command line, just via rust language, instead of going through command line shell.'
----
[1] : https://github.com/xo/usql
-
goose
-
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
-
-
dbmate β A simple, language-agnostic approach to managing database migrations.
-
octosql
OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
-
-
space-cloud
Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
-
neosync
Open Source Data Security Platform for Developers to Monitor and Detect PII, Anonymize Production Data and Sync it across environments.
Just to jump in here -> We support RDS + more and you can self-host, Neosync.
https://github.com/nucleuscloud/neosync
(I'm one of the co-founders)
-
xo
Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server (by xo)
XO doesnβt have them built-in, but it uses easily customizable templates.
I added support for a bunch of postgres fancy stuff in a previous app, it wasnβt too difficult
https://github.com/xo/xo
-
Project mention: Show HN: Outerbase Studio β Open-Source Database GUI | news.ycombinator.com | 2024-12-04
Two more tools I really enjoy:
- https://www.beekeeperstudio.io/ - electron based and I find it really simple to use.
- https://github.com/k1LoW/tbls - generate markdown docs from databases (similar to DbVisualizer, but it's a static binary and you can just push the md files - see https://github.com/bbkane/envelope/tree/master/dbdoc for example)
-
upper.io/db
Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go MySQL discussion
Go MySQL related posts
-
Getting Forked by Microsoft
-
Declarative Schemas for Simpler Database Management
-
Postgres π vs. SQL Server: a Complete Comparison βοΈ in 2025
-
Top 10 MySQL Monitoring Tools
-
Show HN: Nao1215/sqluv β simple terminal UI for RDBMS and local CSV/TSV/LTSV
-
A Simpler Way to Find & Fix Slow MySQL Queries for Developers
-
KubeBlocks β Run production-grade databases easily on Kubernetes
-
A note from our sponsor - InfluxDB
influxdata.com | 21 Apr 2025
Index
What are some of the best open-source MySQL projects in Go? This list will help you:
# | Project | Stars |
---|---|---|
1 | Gogs | 46,227 |
2 | tidb | 38,290 |
3 | vitess | 19,469 |
4 | dolt | 18,540 |
5 | migrate | 16,488 |
6 | go-sql-driver/mysql | 14,739 |
7 | sqlc | 14,792 |
8 | gh-ost | 12,665 |
9 | bytebase | 12,275 |
10 | go-clean-arch | 9,520 |
11 | usql | 9,338 |
12 | goose | 8,151 |
13 | SQLBoiler | 6,853 |
14 | kingshard | 6,413 |
15 | dbmate | 5,894 |
16 | octosql | 5,024 |
17 | bun | 4,119 |
18 | space-cloud | 3,967 |
19 | neosync | 3,845 |
20 | xo | 3,806 |
21 | tbls | 3,742 |
22 | upper.io/db | 3,585 |
23 | goxygen | 3,573 |