[Israel.pm] FW: Connecting to MySQL

Chanan Berler chananb at centerity.com
Sun Jan 11 03:56:24 PST 2009

Hi All,

I got 2 different ActiveState perl: 

Version 5.10.0 - /opt/ActivePerl-5.10/bin/perl5.10.0
Version 5.8.8 - /usr/bin/perl

Problem when connecting to MySQL:
Version 5.8.8 connects without any problem..
Version 5.10.0 - doesn't connect and send this error message: Can't connect
to local MySQL server through socket '/tmp/mysql.sock'

Is it a perl issue / or MySQL issue ?
>From command line I use mysql reports -u nagios -p
And uses my pass..and it does work and connects


More information about the Perl mailing list