Misbehaving mysql57-server
Ryan Schmidt
ryandesign at macports.org
Mon Mar 30 01:44:38 UTC 2020
On Mar 27, 2020, at 10:37, John Chung wrote:
> Normally the socket file is created under /tmp/
> edit /opt/local/etc/mysql57/my.cnf and do the following:
>
> Change:
>
>>> socket = /opt/local/var/run/mysql57/mysqld.sock
>
> to
>
>>> socket = /tmp/mysqld.sock
My understanding is that placing the mysql socket in /tmp is insecure, which is why that has not been what MacPorts does for many, many years, and why the above change should not be made.
More information about the macports-users
mailing list