[go: up one dir, main page]

Skip to content

phanhai27/go-mysql-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mysql-proxy

This repository is a result of writing serie of articles Writing MySQL Proxy that I'm posting on Medium website.

1 - Writing MySQL Proxy in GO for self-learning: Part 1 — TCP Proxy 2 - Writing MySQL Proxy in GO for self-learning: Part 2 — decoding handshake packet

The main goal is to learn the MySQL Protocol by implementing it.

The plan:

  • Implement TCP Proxy as a starting point
  • Implement state machine
  • Implement query/query data buffering
  • Implement plugins

Packets decode/encode todo:

  • Handshake Packet
  • Authorization Packet

go version go1.12.9

To try it, just clone, and run:

go run .

About

MySQL Proxy Journey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.7%
  • Makefile 1.3%