go-mysql

module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2025 License: Apache-2.0

README

go-mysql

GitHub tag (latest SemVer) test Go Reference codecov

The go-mysql is a database framework for implementing a MySQL-compatible server using Go easily.

What is the go-mysql?

The go-mysql handles MySQL protocol and interprets the major messages automatically so that all developers can develop MySQL-compatible servers easily. Since the go-mysql handles all system commands automatically, developers can easily implement their MySQL-compatible server only by simply handling DDL (Data Definition Language) and DML (Data Manipulation Language) query commands.

The go-mysqld provides a implementation framework of authentication and query handlers for MySQL protocol.The go-mysqld makes it possible to implement your original MySQL-compatible servers more easily.

In the past, go-mysql was based on Vitess which is a sharding framework for MySQL, but since version 1.1 the protocol layer and parser have been implemented independently and no longer depend on Vitess.  The protocol handler has been re-implemented independently to support good extensions for both MySQL and MariaDB, and its SQL parser is based on go-sqlparser, aiming to support SQL92 compliant queries.

Table of Contents

Examples

References

Directories

Path Synopsis
examples
go-mysqld command
go-mysqld is an example of a compatible MySQL server implementation using go-mysql.
go-mysqld is an example of a compatible MySQL server implementation using go-mysql.
net
mysqltest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL