I want to connect to a Firebird database read-only (because the location where the .fdb
is read-only for my application.
I connect like this:
conn = fdb.connect(dsn="/path/to.fdb", user='****', password='****', charset='iso8859_1')
The error I am getting is:
Error while connecting to database:\n- SQLCODE: -551\n- no permission for read-write access to database /path/to.fdb', -551, 335544352
I am using FDB v2.0. I couldn't find anything in the online documentation about a read-only connection.