SQLite Forum

How to circumvent "apsw.BusyError: BusyError: database is locked"?
Login
So I need to add the following line to both the writing python apsw program and the reading python apsw program showed in the two previous messages in this thread? Or I just need to add this line to one of the two programs? Thanks.

```
PRAGMA journal_mode=WAL;
```