title: Do not delete a record when I run the delete command in sql (in Python and Mysql)
body: <p>The following code was run without error, but the database does not affect.
  This means that the record can not be deleted.
  Part of code in Python </p>
  
  <pre><code>import MySQLdb as msdb
  def delete_row(self):
      con = msdb.connect('localhost','root','24434','matab_db')
      cur = con.cursor()
      qq = "DELETE FROM tbl_rezerv_nobat WHERE id=4"
      # or qq = "DELETE FROM tbl_rezerv_nobat WHERE id='4'"
      bb = cur.execute(qq)
      con.close()
  </code></pre>
  
  <p>Thanks</p>