in reply to DBI - Can't create IP socket (10106)

Are you putting "DBI:" before the driver? Is "host-" actually "host=" ?

Here's how I'd do it (more or less):

my $dsn = "DBI:$driver:database=$database;host=$hostname;port=$port"; my $dbh = DBI->connect($dsn,$user,$passwd) || die DBI::errstr;

Replies are listed 'Best First'.
Re: Re: DBI - Can't create IP socket (10106)
by InfiniteSilence (Curate) on Aug 13, 2001 at 20:22 UTC
    Correction to previous post

    This doesn't have anything to do with DBI at all. Running the script on the command line reveals that it is getting the data just fine. When I call it from the webserver I get the error in the browser via the wonderful, wonderful CARP module. I am no expert in networking, but I have two other things which read ':80' as the Local Address when I look at netstat. Is it possible that something else on the machine is blocking my port access? If so, how do I kill the other listeners?

    Celebrate Intellectual Diversity