in reply to [SOLVED]: DBD::SQLite "file is encrypted or is not a database" in running application

can sqlite3 open the file?
  • Comment on Re: DBD::SQLite "file is encrypted or is not a database" in running application

Replies are listed 'Best First'.
Re^2: DBD::SQLite "file is encrypted or is not a database" in running application
by stevieb (Canon) on Oct 09, 2016 at 22:44 UTC

    Yes, as I said, this is in a live running program, where the DB handle has been opened for 2+ hours already with no issues. It crashes during this live run.

    I'm definitely feeling it's a locking issue as BrowserUK said, so tomorrow, I'll focus my efforts there.

      For me, it was just a wrong SQLite DB password. When I put in the right one, all was well again.