I do something very similar. Here is the piece of code you need to
get you going (I originally got my example from the list back in Feb or Mar):
package MyApp::Model::FooDB;
use base 'Catalyst::Model::DBIC::Schema';
sub ACCEPT_CONTEXT {
my $self = shift;
my $c = shift;
my $schema
Hello,
I am using catalyst with DBIC::Schema and need to connect to a
different database -- with the same schema definitions -- based on
which user is logged in to the App. Each of our clients data is
stored in separate mysql databases.
I have spent the whole day looking for examples of