Opened 17 years ago

Closed 16 years ago

Last modified 13 years ago

#12694 closed enhancement (worksforme)

mysql5: no helpful “how to get this running” after install

Reported by: 521E328E-2A13-4749-826A-E4EF4F22A0F1@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc:
Port: mysql5

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

I found that I had to do the following to get mysql5 running after install:

    sudo mkdir -p /opt/local/var/db/mysql5
    sudo mysql_install_db5
    sudo chown -R mysql /opt/local/var/db/mysql5

And then run it with:

    sudo mysqld_safe

I was not able to find this in the man page nor in the output from “sudo port install mysql5” — I think it would be nice to have the latter output a note like the above.

Change History (6)

comment:1 Changed 17 years ago by rlo@…

Hi,

Just had the same problem myself, and your fix worked. However, it turned out that this isn't necessary when you install mysql5 with the variant "server". Syntax is

intstall mysql5 +server

Perhaps the "install mysql5" command could give this information once the command completes?

Abracadab

comment:2 Changed 16 years ago by mdzyuba@…

There are a couple of steps that needs to be done. Please see http://mdzyuba.blogspot.com/2007/11/mysql-macport-install-on-mac-os-x-tiger.html for more details.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs
Owner: changed from macports-dev@… to ryandesign@…

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port BugsPort Enhancements
Resolution: worksforme
Status: newclosed

A helpful "how to get this running" message is printed if you install "mysql5 +server". You should not need to read any blog to get started. If all of the information you need to get started is not printed by installing "mysql5 +server", please reopen this ticket and tell me what instructions I need to add to the message. Thanks.

comment:5 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: mysql5 added
Reporter: changed from ib51pi802@… to 521E328E-2A13-4749-826A-E4EF4F22A0F1@…
Note: See TracTickets for help on using tickets.