[Catalyst] create.pl Model CDBI CDBI host problem

phaylon phaylon at dunkelheit.at
Fri Dec 9 23:06:13 CET 2005


charlie Bowman said:

> garbage_create.pl model CDBI CDBI
> dbi:mysql:dbname:hostname  user password

http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm says

  $dsn = "DBI:mysql:$database";
  $dsn = "DBI:mysql:database=$database;host=$hostname";
  $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";

How about one of these versions? :)

hth, p




More information about the Catalyst mailing list