Unified the interface of talking to MySQL