On 15 Aug 2013, at 5:42am, Ajazur Rahaman <[email protected]> wrote:

> After getting executables When we try to run it on our Board,We are getting
> Error message that "DATABASE IS LOCKED".

This suggests that your compilation of SQLite has no problems and that your 
problem comes when you call the SQLite API to make it do something.

On many embedded devices, the default path leads to a folder which is 
read-only.  So if you try to create a new SQLite database without specifying 
the path, it tries to create a new file in a read-only folder and, of course, 
fails.

Do  you get this error when you try to open a SQLite database ?  If so, are you 
providing a full path for the database file ?

If your problem is not with sqlite3_open() can you please tell us which call 
returns that error ?

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to