I\'m using a PhoneGap project on XCode. I am trying to connect to a SQLite databse by using Javascript.
I have made a file \"myDatabase.sqlite\" in an SQLite tool.
myDatabase and myDatabase.sqlite are 2 different filenames, update your code to reference the correct filename with extension.
SQLite does automatically create a new empty database if you try to open a database that doesn't exist.