Allow opening of read-only databases