Re: [sqlite] File is encrypted or is not a database problem

2016-07-25 Thread Jim Borden
This happened to me before and it took a while to track down, but have a look at your threading model as well. What is the thread safety mode you have compiled with and how are you managing connections to databases across multiple threads? For me the gotcha was sharing and iterating through re

Re: [sqlite] File is encrypted or is not a database problem

2016-07-25 Thread Simon Slavin
On 25 Jul 2016, at 1:51pm, Matias Badin wrote: > I have a problem with a sqlite database that was working very good but > suddenly started to give the message "File is encrypted or is not a > database". Then I can“t access it and i have to replace it with a new one. How often does the corruptio

Re: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-05 Thread Dennis Cote
Mark Easton wrote: It seems more than a little strange that I cannot determine the version of a sqlite db. I see you have solved your problem, but for future reference (and for others' information) you could have simply executed the following query using Perl to determine the version of s

Re: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-05 Thread drh
"Mark Easton" <[EMAIL PROTECTED]> wrote: > Sorry ... how do I get sqlite v3.4.2? > Any version of SQLite from 3.0.0 through 3.5.3 will open, read, and write a version 3.4.2 database file. If it says "file is encrypted or is not a database" then you do not have a 3.4.2 database file. Something

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
IL PROTECTED] > Cc: sqlite-users@sqlite.org > Subject: Re: [sqlite] File Is Encrypted Or Is Not a Database > > On Dec 4, 2007 11:02 PM, Mark Easton <[EMAIL PROTECTED]> wrote: > > Sorry, but how do I check the version of DBD::SQLite I have > > installed? Perl is not my

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
The db I am trying to open is attached. Thanks > -Original Message- > From: P Kishor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 5 December 2007 6:11 p.m. > To: [EMAIL PROTECTED] > Cc: sqlite-users@sqlite.org > Subject: Re: [sqlite] File Is Encrypted Or Is Not a Data

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
Sorry ... how do I get sqlite v3.4.2? > -Original Message- > From: P Kishor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 5 December 2007 6:11 p.m. > To: [EMAIL PROTECTED] > Cc: sqlite-users@sqlite.org > Subject: Re: [sqlite] File Is Encrypted Or Is Not a Database >

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
\n", > > $mod->id, > > $mod->inst_version eq "undef" || !defined($mod->inst_version) > > ? "-" : $mod->inst_version, > > $mod->cpan_version eq "undef" || !defined($mod->cpan_version) > > ? "-" :

Re: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread P Kishor
; $mod->uptodate ? "" : "*" > ); > } > }" > > > > Thanks > > > > > -Original Message- > > From: P Kishor [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 5 December 2007 5:44 p.m. > > To: sqlite-users

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
than a little strange that I cannot determine the version of a sqlite db. > -Original Message- > From: P Kishor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 5 December 2007 5:44 p.m. > To: sqlite-users@sqlite.org; [EMAIL PROTECTED] > Subject: Re: [sqlite] File Is Encryp

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
> From: P Kishor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 5 December 2007 5:44 p.m. > To: sqlite-users@sqlite.org; [EMAIL PROTECTED] > Subject: Re: [sqlite] File Is Encrypted Or Is Not a Database > > On 12/4/07, Mark Easton <[EMAIL PROTECTED]> wrote: > > I have also

Re: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread P Kishor
On 12/4/07, Mark Easton <[EMAIL PROTECTED]> wrote: > I have also tried v 3.5.3 now and still cannot open the database. I guess I > need the right version of sqlite3 so that I can dump to sql and then I can > rebuild in a newer version. But how do I find our what version of sqlite I > need? > > > >

RE: [sqlite] File Is Encrypted Or Is Not a Database

2007-12-04 Thread Mark Easton
I have also tried v 3.5.3 now and still cannot open the database. I guess I need the right version of sqlite3 so that I can dump to sql and then I can rebuild in a newer version. But how do I find our what version of sqlite I need? > -Original Message- > From: Mark Easton [mailto:[EMAIL P