How to disable query cache with mysql.connector

I solved this by adding the code after fetchall()

con.commit()

Calling the same select query without doing a commit, won’t update the results.

Leave a Comment