[Catalyst] Error in Accessing Database model

sushant kumar sushantmsb98 at gmail.com
Thu Mar 17 12:46:17 GMT 2011


I'm using SQLite3 and catalyst to develop an application. When I try to
access the database file (tmp/daatabase) , It gives error as "UNABLE TO OPEN
tmp/database".
When I access databse without mentioning the name of database file, It
works!! But Catalyst does not recognize the changes made in databse.


$ sqlite3 tmp/database
sqlite>create table sample(id INTEGER(3), name TEXT);
unable to open tmp/database!!!
$

$ sqlite3
sqlite>create table sample(id INTEGER(3), name TEXT);
$
It Works... But Catalyst code doesnot access the changes made in this case!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110317/72d37=
f70/attachment.htm


More information about the Catalyst mailing list