do mysql-cursor,execute,commit