Pymysql.err.programmingerror Execute First