#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@…
comment:2 Changed 17 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 17 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-dev@… to ryandesign@… |
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | Port Bugs → Port Enhancements |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
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 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | mysql5 added |
Reporter: | changed from ib51pi802@… to 521E328E-2A13-4749-826A-E4EF4F22A0F1@… |
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
Perhaps the "install mysql5" command could give this information once the command completes?
Abracadab