title: MySQLdb.cursors.Cursor.execute does not work
body: <p>I have done the following:</p>
  
  <pre><code>import MySQLdb as mdb
  con = mdb.connect(hostname, username, password, dbname)
  cur = con.cursor()
  count = cur.execute(query)
  cur.close()
  con.close()
  </code></pre>
  
  <p>I have two queries, I execute them in the mysql console I can view the results.<br/>
  But when I give the same through python one query works and the other one does not.<br/>
  I am sure it is not problem with mysql or query or python code. I suspect <b>cur.execute(query)</b> function.</p>
  
  <p>Have anyone come through similar situation? Any solutions? </p>