where I am doing wrong? query runs successfully but no data store in database table
My block of code is
import pymysql
db = pymysql.connect(host='', user='', passwd='',db='')
cursor = db.cursor()
cursor.executemany("""INSERT INTO Mention ( keyword, required, optional, excluded)
VALUES (%s,%s,%s,%s)""",
[
("Spam","fg","gtg","uu") ,
("dd","fg","gtg","uu") ,
("dd","fg","gtg","uu")
])
print(cursor.fetchmany())