[MacPorts] #43088: mysql5 @5.1.72 uses /tmp for socket

MacPorts noreply at macports.org
Wed Mar 26 13:01:20 PDT 2014


#43088: mysql5 @5.1.72 uses /tmp for socket
--------------------------+--------------------------------
 Reporter:  ctreleaven@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:                |       Port:  mysql5
--------------------------+--------------------------------
 Hi guys:

 I wanted to add a local mysql5-server but could not make a connection to
 it.  What I've found is that it is ignoring the configure directive
 ('--with-unix-socket-path=/opt/local/var/run/mysql5/mysqld.sock ') and
 looking for the socket in tmp:

 {{{
  CT-MBP11:~ craigtreleaven$ mysql5 --help |grep ^socket
  socket                            /tmp/mysql.sock
 }}}
 I've rebuilt msyql5 (twice) with no change.  I'll attach the debug build
 output from the most recent attempt.

 Is it possibly a permissions issue?  I've had mysql5 installed on this
 machine since @5.1.61_0 although it has always been used to access a
 remote server.  Permissions on /opt/local/var/run/mysql5 are 0755.  It was
 only a few days ago that I installed mysql5-server and experienced this
 issue.

-- 
Ticket URL: <https://trac.macports.org/ticket/43088>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list