title: Print the actual query MySQLdb runs?
body: <p>I'm looking for a way to debug queries as they are executed and I was wondering if there is a way to have MySQLdb print out the actual query that it runs, after it has finished inserting the parameters and all that?  From the documentation, it seems as if there is supposed to be a Cursor.info() call that will give information about the last query run, but this does not exist on my version (1.2.2).</p>
  
  <p>This seems like an obvious question, but for all my searching I haven't been able to find the answer.  Thanks in advance.</p>