Server and client using mysql