I am using SQlite db, two application uses this db, one from C++ and another from python. If a table is accessed by both the application simultaneously, Database error occurs. How to use same db in two application. Thanks in advance.
Asked
Active
Viewed 27 times
0
-
1Does this answer your question? [SQLite Concurrent Access](https://stackoverflow.com/questions/4060772/sqlite-concurrent-access) – Botje Apr 16 '20 at 13:53
-
SQLite is a great tool but it has one big limitation: it is not intended for concurrent accesses. If you really need that, you should use a different database like PostgreSQL or MariaDB. – Serge Ballesta Apr 16 '20 at 14:06
-
1I can tell you that WAL mode helps. It does not eliminate the need for error handling however. – drescherjm Apr 16 '20 at 14:17