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.


Reply via email to