[Israel.pm] FW: Connecting to MySQL

Gaal Yahas gaal at forum2.org
Sun Jan 11 04:33:05 PST 2009


Is this any help?

http://forums.mysql.com/read.php?51,52107,52111#msg-52111

(I just put "perl can't connect to local mysql through socket" in a
search engine.)

On Sun, Jan 11, 2009 at 1:56 PM, Chanan Berler <chananb at centerity.com> wrote:
>
> 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
>
> Thanks
> Chanan
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
>



-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/



More information about the Perl mailing list