MySQL5 won't install/start

Samuel V. Green III unkie at cox.net
Thu Jul 5 11:50:15 PDT 2007


I believe I came across the solution by accident as I had the
same issues trying to start:

After starting:

Try:    sudo -u mysql5 mysql_install_db5

All mysql commands must be in the form of "mysql5".
This seems to work for me.

--Samuel.


On Jul 5, 2007, at 4:02 AM, Peter Farsinsen wrote:

> 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
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users




More information about the macports-users mailing list