title: Panda dataframe into databse,TypeError: Required argument 'database' (pos 1) not found
body: <p>I want to insert pd dataframe into database with sqlite3 with Python3</p>
  
  <pre><code>df = pd.DataFrame(maindatatable)
  print (df)
  
  con = sqlite3.connect(host="localhost",user="milenko",passwd="******",db="dbase")
  sql.write_frame(df, con=con, name='table_name_for_df', if_exists='replace', flavor='mysql')
  
  It doesn't work
    File "b23.py", line 36, in &lt;module&gt;
      con = sqlite3.connect(host="localhost",user="milenko",passwd="*******",db="dbase")
  TypeError: Required argument 'database' (pos 1) not found
  </code></pre>
  
  <p>If I go back to MySQL</p>
  
  <pre><code>show databases;
  +--------------------+
  | Database           |
  +--------------------+
  | information_schema |
  | ap1                |
  | classicmodels      |
  | dbase              |
  | mysql              |
  | performance_schema |
  | sys                |
  +--------------------+
  </code></pre>
  
  <p>dbase is here,so what is wrong? </p>
  
  <p>If I change to</p>
  
  <pre><code>con = sqlite3.connect("dbase")
  </code></pre>
  
  <p>then</p>
  
  <pre><code>AttributeError: module 'pandas.io.sql' has no attribute 'write_frame'
  </code></pre>