let userDB = new sqlite3.Database("./user1.db", sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE, (err) => { // do your thing });