title: Sqlite Error: file is not a database
body: <p>I have created a database named <code>database.db</code> <br></p>
  
  <p>When I create a table in the database I get the error:<code>Error: file is not a database</code></p>
  
  <pre><code>nehal@nehal-Inspiron-5559:~/Desktop/UAV$ sqlite3 database.db 
  SQLite version 3.20.1 2017-08-24 16:21:36
  Enter ".help" for usage hints.
  sqlite&gt; CREATE TABLE users(
     ...&gt; password varchar(10),
     ...&gt; email text,
     ...&gt; name text
     ...&gt; );
  Error: file is not a database
  </code></pre>
  
  <p><strong>How do I resolve the error?</strong></p>