Why does pymysql update the database with a total prompt of 1054?

    sql = "UPDATE arms SET gem2="%s" WHERE id = ("%d")" % ("",new_id)
    (1054, "Unknown column "gem2" in "field list"")
    
    
    sql = "UPDATE arms SET gem2="" WHERE id = ("%d")" % new_id
    (1054, "Unknown column "gem2" in "field list"")
    gem1.

Apr.05,2021

try using the following sql?

sql = "UPDATE arms SET gem2='%s' WHERE id = ('%d')" % (pymysql.escape_string(''),int(new_id))

sql should be fine, especially if gem1 will not report an error. Check to see if there are spaces or newline characters before and after gem2.

Menu