I think I figured out what's wrong, but I don't know how to correct it.
After reading a web-blog that said to rename any fink created conflicting
directories namely /sw/lib/mysql or /sw/lib/perl5 I tried it. Nothing worked
afterwords. So, I'm guessing I have conflicting modules being used.
Try as I might to reinstall mod_perl I can't get it right. The perl MakeFile.PL
asks me to find the apache source directory, which on Mac OS X 10.3 is
/usr/include/httpd/ I believe. When I try it the sub directories it looks for
the apache handlers are all wrong. I tried ln my /Library/MySQL/lib/mysql/
to the /sw/lib/mysql/ directory to no avail. I needs the following:


dyld: /usr/sbin/httpd can't open library: /sw/lib/mysql/libmysqlclient.14.dylib (No such file or directory, errno = 2)
[Sun Feb 6 16:08:18 2005] [notice] child pid 779 exit signal Trace/BPT trap (5)


Anyone know what my next step is?


On Feb 6, 2005, at 11:46 AM, Jay Scherrer wrote:

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





Reply via email to