Re: Need help getting DBI to work under mod_perl

[prev] [thread] [next] [Date index for 2005/02/06]

From: Rici Lake
Subject: Re: Need help getting DBI to work under mod_perl
Date: 19:19 on 06 Feb 2005
On 6-Feb-05, at 12:46 PM, Jay Scherrer wrote:
>> Boysenberry Payne wrote:
>>> I'm able to run DBI->connect() fine when I run my .pl and .pm
>>> scripts as mod_cgi.
>>> Once I set up my httpd.conf and startup.pl files it no longer
>>> works. I get the following:
>>>
>>> Can't connect to MySQL server on 'localhost' (49)
>>>
>>> I can't find what (49) means anywhere...

It's a system error number. On FreeBSD, at least, it means this:

      49 EADDRNOTAVAIL Cannot assign requested address.  Normally 
results from
              an attempt to create a socket with an address not on this
              machine.

but YMMV

Need help getting DBI to work under mod_perl
Boysenberry Payne 06:09 on 06 Feb 2005

Re: Need help getting DBI to work under mod_perl
Boysenberry Payne 06:32 on 06 Feb 2005

Re: Need help getting DBI to work under mod_perl
Jay Scherrer 17:46 on 06 Feb 2005

Re: Need help getting DBI to work under mod_perl
Rici Lake 19:19 on 06 Feb 2005

Re: Need help getting DBI to work under mod_perl
Boysenberry Payne 22:16 on 06 Feb 2005

Re: Need help getting DBI to work under mod_perl
Boysenberry Payne 21:54 on 07 Feb 2005

Re: Need help getting DBI to work under mod_perl
Boysenberry Payne 18:46 on 06 Feb 2005

Re: Need help getting DBI to work under mod_perl
jonathan vanasco 14:43 on 06 Feb 2005

Generated at 21:37 on 09 Feb 2005 by mariachi v0.52