On 24 Jan 2015, at 8:13pm, Lev <[email protected]> wrote:

> I sometimes get a database locked error when I access the database by
> calling the execute() call. This is on PHP.

Have you set a timeout ?  Immediately after opening the connection use

<http://php.net/manual/en/sqlite3.busytimeout.php>

and set it to 60000 (60 seconds) or so.

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

Reply via email to