MySQL5 won't install/start

Peter Farsinsen peter at farsinsen.dk
Thu Jul 5 04:02:40 PDT 2007


Hi,

I'm trying to install Apache2, MySQL5 & PHP5 on a clean OSX/MacPorts 
installation.

Before reinstalling OSX and MacPorts I had this setup running perfectly.

The Apache2 installation went fine, but MySQL just wont work.

"sudo install mysql5 +server"

Works fine, but "sudo -u mysql mysql_install_db5" (at the end of the 
installation) returns "sudo: mysql_install_db5: command not found"

"/opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start"

Dosen't work either. It returns:

"Starting MySQL/opt/local/share/mysql5/mysql/mysql.server: line 159: 
kill: (395) - No such process
  ERROR!"

Is this a known problem? Is there a solution?

If any further details about my setup or the MacPorts is needed please 
let me know and I'll try to provide them.

Best regards

Peter Farsinsen




More information about the macports-users mailing list