I am using python MySQL API to connect to Mysql database from python program. I am facing a problem from few days. I am unable to insert records into the database and dont k
Before closing the connection, you should add db.commit().
db.commit()