cursor in mysql.connector in python keep disconnected
I’m trying to log data to table in MySQL. First function is to connect the database, second is to create table, third one is to actually log data. But after connect to database from first function, other functions can’t connect the cursor. I tried to put create table in first function and it works fine, … Read more