Skip to content

dveeden/tidbgw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiDB Gateway

Building

go build

Running

./tidbgw

Optionally set the address of PD and address to listen on via flags.

Using

Connect your MySQL client to port 4009. TiDB Gateway will pick a random TiDB backend to route the connection to.

The gateway will detect new TiDB hosts and add these to the list of backends.

Ideas for future versions

  • Use the HTTP Status API
  • Filter based on labels of servers

Releases

No releases published

Packages

No packages published

Languages