Pymysql Err Programming Error Execute First