[MacPorts] #30678: mysql5-server places socket in /var/mysql which breaks in-place upgrade from SL Server to Lion Server

MacPorts noreply at macports.org
Tue Aug 9 13:55:50 PDT 2011


#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          
-----------------------------------+----------------------------------------
 {{{
 cid:~ admin$ cd /var/mysql/
 cid:mysql admin$ ls -al
 total 0
 drwxr-xr-x   2 _mysql  wheel    68 Aug  9 13:53 .
 drwxr-xr-x  37 root    wheel  1258 Aug  9 13:26 ..
 cid:mysql admin$ sudo launchctl start org.macports.mysql5
 cid:mysql admin$ ls -al
 total 0
 drwxr-xr-x   3 _mysql  wheel   102 Aug  9 13:53 .
 drwxr-xr-x  37 root    wheel  1258 Aug  9 13:26 ..
 srwxrwxrwx   1 _mysql  wheel     0 Aug  9 13:53 mysql.sock
 }}}

 MacPorts should not be placing mysql.sock in /var/mysql as that is owned
 by Apple's MySQL server.  This interference causes in-place upgrades from
 SL Server to Lion Server to fail.

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


More information about the macports-tickets mailing list