I run a program that adds reasonably simple records to a mariaDB database table. Ever since I added the following piece of code:
connection.autocommit = True
The new data I add is no longer visible in phpymadmin. I can still interact with said data through the program however the record count never increases in Phpmyadmin and I cannot find the data in it. The old data is also still there.
I used autocommit because I thought it was a function to bypass the need to go through the process of manually committing every query separately in my code but perhaps it does more than I realize.
Is there a way to display the new records in Phpmyadmin so I can interact with them again?
Edit:
I have come to realize that
connection.autocommit = True
is the correct code but I was trying to perform it on the cursor, not the connection. for anyone reading this make sure you Don't try to set cursor.autocommit to True.