[MacPorts] #21581: MySql socket location change

MacPorts noreply at macports.org
Wed Sep 23 16:07:05 PDT 2009


#21581: MySql socket location change
------------------------------+---------------------------------------------
 Reporter:  scott@…           |       Owner:  ryandesign@…           
     Type:  request           |      Status:  assigned               
 Priority:  Normal            |   Milestone:                         
Component:  ports             |     Version:  1.8.0                  
 Keywords:  php5              |        Port:  php5-mysql             
------------------------------+---------------------------------------------

Comment(by scott@…):

 Replying to [comment:3 ryandesign@…]:
 > The socket location has not changed in years. It is in the place we want
 it, in ${prefix}/var/run/mysql5/mysqld.sock. I saw your message on the
 mailing list, but did not yet respond because I did not yet have a chance
 to investigate. I may just need to add some configure args to the mysqlnd
 variant in the php5-mysql port to tell it where the socket is located. In
 the mean time, you can set the socket location in php.ini, as the
 php5-mysql port already tells you to do if you install it with its default
 mysqlnd variant, or you can install the php5-mysql port with its mysql5
 variant instead which already knows where the socket is.

 Sorry, I was not aware of that.  I did try to search out the past
 revisions of a port and see if I could figure out what is going on.  I do
 think you are correct, that there just needs to be some config args set to
 the php side of things, then it will go clean.  Sorry I assumed that /tmp
 was the default location, that is what php has been telling me is the
 default location in all the installs I have done over the past few weeks.

 Thanks again

-- 
Ticket URL: <http://trac.macports.org/ticket/21581#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list