Error Inserting data to mysql server through mysqldb in python
<p>MYsqldb is returning 1L when executing this:-</p>

<pre><code>db=MySQLdb.connect('localhost','root','12345678','kitkat')
cur=db.cursor()
cur.execute("INSERT INTO justdial(id,email_raw,status) VALUES (NULL,'none','none')")
</code></pre>

<p>If you are getting no errors
Try adding db.commit after your execute</p>

<p>I personally prefer mysql.connector.</p>

python sql mysql-python