[Catalyst] DBD::SQLite::db prepare failed: file is encrypted (26)

Krzysztof Krzyżaniak eloy at pawnhearts.eu.org
Tue May 2 11:12:50 CEST 2006


Isaac Praveen <isaac at deeproot.co.in> writes:

> Hi,
>
> I get this error when I run a Catalyst App that uses sqlite 
> $ script/app_create.pl model CDBI CDBI dbi:SQLite:app.db
>
> Error :    DBD::SQLite::db prepare failed: file is encrypted (26)

This error is shown when you want to read sqlite2 database (old format)
with new sqlite library.

> I have libdbd-sqlite3-perl installed. The db file is generated using 
> $ sqlite3 app.db < app.sql

Please check if you have both (sqlite2 & sqlite3) installed.

>
> also could someone suggest how to use mysql with catalyst ?

Hmm, just try to use?

  eloy
-- 
-------e-l-o-y----------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------

       jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej



More information about the Catalyst mailing list