[Catalyst] connection to DB
Tom Lanyon
tom at netspot.com.au
Thu Apr 26 01:11:45 GMT 2007
On 26/04/2007, at 4:04 AM, Will Smith wrote:
> 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.
This error has nothing to do with your host settings. It looks like
your Schema is trying to load the myappDB::User class, which doesn't
exist or isn't in your @INC.
Fix that problem first, then attempt to connect to the other database.
Cheers,
Tom
More information about the Catalyst
mailing list