Why is MySQL Connector disconnecting during my loop?
I a unsure why my connection is giving me an error while I loop through my table to search for elements of my list: try: conn = mysql.connector.connect(user='root', password='####',host='####',database='###', allow_local_infile=True) cursor = conn.cursor() except Exception: traceback.print_exc() print("I am unable to…