#30678: mysql5-server places socket in /var/mysql which breaks in-place upgrade from SL Server to Lion Server -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: mysql5-server -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 jeremyhu@…]:
So by default, it is using /var/mysql (which it shouldn't)
That shouldn't be the case. mysql5 is configured with `--with-unix-socket- path=/opt/local/var/run/mysql5/mysqld.sock` so that should be the default, unless you have specified otherwise in your my.cnf. I have not specified otherwise in my my.cnf, and that is what it is on my system. Remember that mysql looks for my.cnf in many places, including /etc/my.cnf. -- Ticket URL: <https://trac.macports.org/ticket/30678#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS