#12694: mysql5: no helpful “how to get this running” after install -----------------------------------------------------------------+---------- Reporter: 521E328E-2A13-4749-826A-E4EF4F22A0F1@… | Owner: ryandesign@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.5.0 Resolution: worksforme | Keywords: Port: mysql5 | -----------------------------------------------------------------+---------- Changes (by ryandesign@…): * port: => mysql5 * reporter: ib51pi802@… => 521E328E-2A13-4749-826A-E4EF4F22A0F1@… Old description:
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.
New description: 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. -- -- Ticket URL: <https://trac.macports.org/ticket/12694#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS