Hi all.


I'am trying to configured a Catalyst::Model::DBI::SQL::Library model from a 
YAML file via Catalyst::Plugin::Config::YAML ?

Everythings works perfectly with a:

__PACKAGE__->config(
    dsn           => 'dbi:Pg:database=datatest',
    user          => 'username',
    password      => 'pass',
    options       => {},
);

but no way with ( myapp.yml)

Model::DBI::SQL::Library:
  dsn: dbi:Pg:dbname=datatest
  user: username
  password: pass
  options:
   AutoCommit: 1
  sqlcache: 1
  sqlcache_use_mtime: 1
 


= log = > 
[debug] Couldn't connect to the database "Can't connect to data source
, no database driver specified and DBI_DSN env var not set at
/usr/share/perl5/Catalyst/Model/DBI.pm line 93
< = =

Please what's wrong with my yaml file ? 
Apologies if it's the best mailinglist for this question




John Utaka 









 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
_______________________________________________
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/

Reply via email to