implemented a constructor of DBAgentMySQL.