MYsqldb is returning 1L when executing this:-
db=MySQLdb.connect('localhost','root','12345678','kitkat')
cur=db.cursor()
cur.execute("INSERT INTO justdial(id,email_raw,status) VALUES (NULL,'none','none')")
We started with Q&A. Technical documentation is next, and we need your help.
Whether you're a beginner or an experienced developer, you can contribute.
MYsqldb is returning 1L when executing this:-
|
|||||||||||||
|
If you are getting no errors Try adding db.commit after your execute I personally prefer mysql.connector. |
|||
|