<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000099" bgcolor="#FFFFCC">
    <div class="moz-cite-prefix">On 3/13/19 5:58 AM, Dr M J Carter
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20190313095840.6evjzakqtgvjy3v2@physics.ox.ac.uk">
      <pre class="moz-quote-pre" wrap="">On Wed, Mar 13, 2019 at 01:33:27AM -0400, MacPorts wrote:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">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.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
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.

</pre>
    </blockquote>
    Dr Carter,<br>
    I had wondered if the reason Perl wouldn't recognize the socket when
    pointed to by a link was for security, but, I have seen several
    comments on the web saying that they had solved this problem with a
    symbolic link. <speculation>Maybe the maintainers of
    DBD::mysql have made changes to disallow links since those comments
    were made.</speculation><br>
    <br>
    <br>
    <br>
    Carl.<br>
    <br>
    <br>
    <br>
  </body>
</html>