implement mysql client