Thanks for your response. But it does not work. I tried that , or " dbname=test
.." and get the same error:
Couldn't instantiate component "access::Model::myappDB", "Cannot load schema
class 'myappDB': DBIx::Class::Schema::load_classes(): Can't locate myappDB/User.
hope that you could get an idea why I got that.
Thank you
Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Hi,
Try this:
__PACKAGE__->config(
schema_class => 'testDB',
connect_info => [
'dbi:mysql:database=myapp;host=192.168.2.115',
'root',
'test',
{ AutoCommit => 1 },
],
);
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos._______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/