Perl not connecting to MySQL [Solved]

Dr M J Carter Martin.Carter at physics.ox.ac.uk
Wed Mar 13 09:58:40 UTC 2019


On Wed, Mar 13, 2019 at 01:33:27AM -0400, MacPorts wrote:

> I'm sure what you're saying is correct. I'd still like to know why
> Perl could not find the socket file when it was pointed to through a
> symbolic link.

Security, I think: Perl sees a symlink where it's expecting a socket,
and refuses to be fobbed off, in case someone's attempting to hijack
your process.  (X11 has a similar paranoia about insisting .Xauthority
is a Real File.)  Abusing symlinks has a long and dishonourable
history in the naughtier parts of the trade.

Hope this helps.

-- 
Dr Martin J Carter
Computer System Administrator
Astrophysics, University of Oxford


More information about the macports-users mailing list