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

MacPorts noreply at macports.org
Fri Jun 17 10:32:47 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 psychicpsquirrel@…):

 I was having a similar problem to the above, and found a fix on a blog
 post that worked for me. In addition to the
 {{{
 ERROR! MySQL manager or server PID file could not be found!
 }}}
 error message, I was also getting this error in the console.
 {{{
 18/06/11 12:07:10 AM com.apple.launchd[1] (0x10e4b0.nohup[2213]) Could not
 setup Mach task special port 9: (os/kern) no access
 }}}
 While searching for this second error message, I found this blog entry
 that said that the second error message was caused by a problem with the
 permissions on the /opt/local/var/db/mysql5/ directory. I found a couple
 of files that had the owner set to root:admin instead of _mysql:admin. All
 I did was
 {{{
 sudo chown -R _mysql:admin /opt/local/var/db/mysql5/
 }}}
 and I was able to start mysql from the command line, and with launchctl.

 This might not exactly what the others here are experiencing, but it's
 worth a try. Here's a link to the blog post.

 http://systems.takizo.com/2008/06/09/mysql5-server-cannot-start-on-apple-
 mac-leopard/

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


More information about the macports-tickets mailing list