Opened 14 years ago

Closed 14 years ago

#25793 closed enhancement (invalid)

mysql5-5.1.48_1 should create log and run directories automatically

Reported by: prodtech@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mysql5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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/

Change History (2)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: leopard removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: -server removed
Summary: mysql5-5.1.48_1 Install Errormysql5-5.1.48_1 should create log and run directories automatically
Type: defectenhancement
Version: 1.9.1

Please remember to cc the maintainer. The mysql5 port's server variant is deprecated (and in fact no longer exists) because that functionality is now provided by a separate port called mysql5-server (which is different to "mysql5 -server", which is the mysql5 port with the "server" variant deselected).

There doesn't seem to be much here we can fix, since your problems appear to have come from following not-entirely-correct third party instructions. I guess what's left is a request for mysql5 to create log and run directories?

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed

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."

Note: See TracTickets for help on using tickets.