[Dbix-class] connecting to different environments

Oleg Kostyuk cub.uanic at gmail.com
Fri Sep 9 16:20:19 GMT 2011


Or, if you too lazy - take a look at
Catalyst::TraitFor::Model::DBIC::Schema::ConnectInfo::Several


2011/9/9 Rob Kinyon <rob.kinyon at gmail.com>:
> On Fri, Sep 9, 2011 at 11:30, Alan Humphrey <alan.humphrey at comcast.net> wrote:
>> Hi –
>>
>>
>>
>> I’m wondering how people are handling connecting to different databases,
>> e.g. dev vs. test vs. production.  Is there a technique that’s considered
>> “best practice”?
>
> Configuration files are good things. Just swap in the right config
> file for a given environment.
>
> Rob
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
>



-- 
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)



More information about the DBIx-Class mailing list