[Dbix-class] Class::Storage::DBI, connect_info/on_connect_do

Jules Bean jules at jellybean.co.uk
Fri Jun 22 16:32:23 GMT 2007


John Goulah wrote:
>  Model::MyDB:
>      schema_class: My::Schema
>      connect_info:
>           - 'dbi:mysql:dbname=mydb'
>           - 'user'
>           - 'pass'
>           - AutoCommit: 1
>           - mysql_auto_reconnect: 0


That yaml doesn't mean what you want it to mean. You've got two hashes 
there inside connect_info and, AFAIK, you only want one.

Jules



More information about the Dbix-class mailing list