From: <so...@sp...> - 2000-12-15 08:38:22
|
hey, my problem with setting slash (1.1.1-bender) up on postgresql is what follows. my DBIx::Password is: my $virtual1 = { 'slash' => { 'username' => 'slash', 'password' => 'kaparma..', 'port' => '5432', 'database' => 'slash', 'attributes' => {}, 'connect' => 'DBI:Pg:database=slash;host=localhost', 'driver' => 'Pg', 'host' => 'localhost' } }; and apache gives me: DRIVER Pg:slash Picking PostgreSQL Syntax error on line 39 of /home/opt/apache/conf/virtual.conf: Can't call method "quote" on an undefined value at /usr/lib/perl5/site_perl/5.005/i386-linux/Slash/DB/MySQL.pm line 2817. this probably is a DBIx configuration problem, but i have no idea how to fix it. oh, when i change 'driver' => 'PostgreSQL' it spits out: DRIVER Pg:slash Picking PostgreSQL Major Mojo Bad things Can't read $DBI::errstr, last handle unknown or destroyed at /usr/lib/perl5/site_perl/5.005/i386-linux/Slash/DB/Utility.pm line 44. unable to connect to MySQL: Can't connect(DBI:PostgreSQL slash kaparma.. HASH(0x821dcc8)), no database driver specified and DBI_DSN env var not set at /usr/lib/perl5/site_perl/5.005/DBIx/Password.pm line 31 : Wojtek |