title: sqlite3_open: "unable to open database file"
body: <p>I get "unable to open database file" when executing rc = sqlite3_open("test.db", &amp;db);  ??</p>
  
  <pre><code>sqlite3 *db; // sqlite3 db struct
  char *zErrMsg = 0;
  int rc;
  
  // Open the test.db file
  rc = sqlite3_open("test.db", &amp;db); // &lt;-- creates DB if not found ??
  
  if( rc ){
      // failed
      fprintf(stderr, "ERROR: Can't open database: %s\n", sqlite3_errmsg(db));
  } 
  </code></pre>