finish MysqlCAS