[MacPorts] #20421: mysql5-server port failed to start

MacPorts noreply at macports.org
Mon Sep 12 03:11:04 PDT 2011


#20421: mysql5-server port failed to start
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  new                    
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:  1.8.0                  
 Keywords:                      |        Port:  mysql5-server          
--------------------------------+-------------------------------------------

Comment(by dev@…):

 I experienced this problem. Something went wrong with my installation via
 mac ports.

 I found in the error.log:


 {{{
 Can't start server : Bind on unix socket: Permission denied
 Do you already have another mysqld server running on socket:
 /opt/local/var/run/mysql5/mysqld.sock ?
 }}}

 Check if you can read/write to /opt/local/var/run/mysql5/ with user mysql:

 sudo -u mysql touch /opt/local/var/run/mysql5/test
 sudo -u mysql ls l /opt/local/var/run/mysql5

 If not so check the permissions in superior folders. In my case
 /opt/local/var/run had strange permissions 730 (drwx-w----) but should be
 755.

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


More information about the macports-tickets mailing list