add cache for mysql-client.