[MacPorts] #25793: mysql5-5.1.48_1 should create log and run directories automatically
MacPorts
noreply at macports.org
Fri Jul 23 18:19:14 PDT 2010
#25793: mysql5-5.1.48_1 should create log and run directories automatically
--------------------------------------+-------------------------------------
Reporter: prodtech@… | Owner: ryandesign@…
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: invalid | Keywords:
Port: mysql5 |
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* resolution: => invalid
Old description:
> Following instructions from http://homepage.mac.com/duling/halfdozen
> /NeDi-Howto.html. Other posts said '+server' is deprecated, so used
> install command:
>
> %% sudo port install mysql5 -server
>
> No errors reported on port install. Next command:
>
> %% sudo -u mysql mysql_install_db5
>
> Errors because log and run directories failed to create in opt/local/var/
> on port install. Found instructions to manually create directories and
> set permissions. So can proceed.
>
> Later this command fails:
>
> %% sudo launchctl load -w
> /Library/LaunchDaemons/org.macports.mysql5.plist
>
> Because org.macports.mysql5.plist is also missing from port install.
> Found post that ties issue to install of deprecated port mysql5 +server,
> but not the case here.
> http://archive.robwilkerson.org/2009/07/16/macports-mysql-5-and-the-
> launch-daemons/
New description:
Following instructions from http://homepage.mac.com/duling/halfdozen/NeDi-
Howto.html. Other posts said '+server' is deprecated, so used install
command:
{{{
%% sudo port install mysql5 -server
}}}
No errors reported on port install. Next command:
{{{
%% sudo -u mysql mysql_install_db5
}}}
Errors because log and run directories failed to create in opt/local/var/
on port install. Found instructions to manually create directories and set
permissions. So can proceed.
Later this command fails:
{{{
%% sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
}}}
Because org.macports.mysql5.plist is also missing from port install. Found
post that ties issue to install of deprecated port mysql5 +server, but not
the case here.
http://archive.robwilkerson.org/2009/07/16/macports-mysql-5-and-the-
launch-daemons/
--
Comment:
Via email, Rudi replied "Thank you very much for the quick reply. Will
install the correct port as you have noted. You can close this ticket."
--
Ticket URL: <http://trac.macports.org/ticket/25793#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list