On 14 Jan 2019, at 9:23am, Urs Wagner <urs.wag...@man-es.com> wrote: > I use several tasks in C# to call Sqlite queries. > No I get the error SQLite error (5): database is locked. > Is it not possible to use more than one tasks with Sqlite?
Please set a timeout for all connections to your database: <https://sqlite.org/c3ref/busy_timeout.html> <https://sqlite.org/pragma.html#pragma_busy_timeout> A good timeout value is at least 10000 milliseconds. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users