It's trying to connect to port 49. By default MySQL listens to 3606.
Somewhere it was changed.
Jay Scherrer
On Sunday 06 February 2005 06:24 am, Tom Schindl wrote:
> Give it a try and add the hostname you are connecting to to the
> DSN.
>
> Tom
>
> 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...
>
> Tom