mysql/connector python query works in mysql but not python
问题 I've seen the following two answers: python - mysql query not working SQL query works in console but not in python And neither of the solutions work for me. I'm running the code below which completes without any errors every single time yet does not at all modify the mysql table Compounds , and I've verified that the format of the input file matches exactly the format of my mysql table and that it is correctly delimited and not empty. import os, sys import mysql.connector from mysql.connector