title: to_sql() error querying sqlite_master table when writing to MySQL
body: <p>I have a question about how to save a dataframe to my local mysql.</p>
  
  <pre><code>import MySQLdb
  import pandas as pd
  conn=MySQLdb.connect(host="localhost",user='root',passwd="matt123",db="ada")
  df=pd.DataFrame(['A','B'],columns=['new_tablecol'])
  df.to_sql(name='new_table',con=conn,if_exists='append')
  </code></pre>
  
  <p>after typing this code , it says</p>
  
  <pre><code>pandas.io.sql.DatabaseError: Execution failed on sql 'SELECT name FROM sqlite_master WHERE type='table' AND name=?;': not all arguments converted during string formatting
  </code></pre>
  
  <p>I am confused about this.I can query and create table . but I can't save this dataframe.</p>