Opened 14 years ago
Last modified 14 years ago
#25793 closed enhancement
mysql5-5.1.48_1 Install Error — at Initial Version
Reported by: | prodtech@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | mysql5 |
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/