[Catalyst] MySQL on another host, YAML

Andy Grundman andy at hybridized.org
Tue Jan 17 18:39:00 CET 2006


Davood Firoozian wrote:
> hi,
> Using this YAML config
> 
> Model::CDBI:
>    dsn: 'dbi:mysql:svpn:svnserver'
>    user: 'dummy'
>    password: 'monaliza'
>    options: {}
>    relationships: 1

I think you really want something like this:
dsn: 'dbi:mysql:database=svpn;host=svnserver'

-Andy



More information about the Catalyst mailing list