KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've been trying using PyMysql and so far everything i did worked (Select/insert) but when i try to update it just doesn't work, no errors no nothing, just doesn't do anything. import pymysql connection = pymysql.connect(...) cursor = connection.cursor() cursor.execute("UPDATE Users SET IsConnected='1' WHERE Username='test'") cursor.close() connection.close() and yes I've double checked that Users, IsConnected and Username are all correct and test does exist (SELECT works on it) what's my problem here?
Tags (comma-separated)
Save Edits
Cancel