go-mysql-server is a MySQL-compatible database engine written in pure Go that allows you to run queries on your data sources using the MySQL dialect. With an included in-memory database implementation, you can query any data source by creating your backend. Dolt, a SQL database with Git-style versioning, is the main production database implementation. The project aims to be a drop-in replacement for MySQL, offering compatibility with various MySQL features. The in-memory database has limitations such as non-thread-safe and lack of transaction support. Users can also create custom backend implementations. Additionally, the project provides technical documentation and a security policy.
https://github.com/dolthub/go-mysql-server