[MacPorts] #41806: mysql5 does not run
MacPorts
noreply at macports.org
Fri Dec 13 15:33:36 PST 2013
#41806: mysql5 does not run
------------------------+--------------------------------
Reporter: bpabbott@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: mysql5-server
------------------------+--------------------------------
I'm having trouble running mysql5. With Lion, I was successful following
the
instructions at the link below.
https://trac.macports.org/wiki/howto/MAMP#mysql
I've recently upgraded to Mavericks and returned to these same
instructions.
{{{
sudo port install mysql5-server
}}}
{{{
sudo -u mysql mysql_install_db5
sudo chown -R mysql:mysql /opt/local/var/db/mysql5/
sudo chown -R mysql:mysql /opt/local/var/run/mysql5/
}}}
The directory `/opt/local/var/log/mysql5` did not exist, so I created it
and
changed the permissions.
{{{
sudo mkdir -p /opt/local/var/log/mysql5
sudo chown -R mysql:mysql /opt/local/var/log/mysql5/
}}}
Next I activated my MySQL server.
{{{
sudo port load mysql5-server
}}}
Which returned the error below.
{{{
Error: org.macports.load for port mysql5-server returned: Launchd plist
/Library/LaunchDaemons/org.macports.mysql5.plist was not found
Please see the log file for port mysql5-server for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5-server/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port mysql5-server failed
}}}
The log contains a bit more info.
{{{
version:1
:debug:main Executing org.macports.main (mysql5-server)
:debug:load load phase started at Fri Dec 13 18:27:18 EST 2013
:debug:load Executing org.macports.load (mysql5-server)
:error:load org.macports.load for port mysql5-server returned: Launchd
plist /Library/LaunchDaemons/org.macports.mysql5.plist was not found
:debug:load Error code: NONE
:debug:load Backtrace: Launchd plist
/Library/LaunchDaemons/org.macports.mysql5.plist was not found
while executing
"$procedure $targetname"
:info:load Warning: targets not executed for mysql5-server:
org.macports.load
:notice:load Please see the log file for port mysql5-server for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5-server/main.log
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41806>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list