query="""insert into serial_ids values (%s,%s)"""
cur.execute(query, (serial,model))
I am using MySQL in Flask framework but I dont see the row inserted. The same code piece is working with python (no framework).
Also, is there any way to do autocommit true in Flask or some workaround?