I changed the data storage path like this:
db = openDatabaseSync("mydatabase", "1.0", "mydatabase", 1000000);
When i deploy the application in debugging mode on device. It creates the folder “Databases” in “E:” drive with .ini file in it but it does not create the database file(.sqlite).
At this line
It gives me this error
tx.executeSql('CREATE TABLE IF NOT EXISTS Greeting(salutation TEXT, salutee TEXT)');
When i googled it, I found that it would be created at the path something like this C:\Private\e15a05d0\” . I am unable to find the private folder in C drive. Its hidden. How can i access that? If i create the new database at default path, then i am unable to locate those database files on device.
[Qt Message] QSqlQuery::prepare: database not open
[Qt Message] file:///C:/Private/e15a05d0/qml/NokiaApp/jscript.js:15: Error:
I want to use existing database. There are hundreds of records in my database. How can i make sure that deployment process should deploy the same database which i created on windows.
I didn’t find any help in documentation. Can anyone resolve this issue?
Thanks in advance.