Opened 9 years ago
Last modified 6 years ago
#47831 assigned defect
mysql56-server @5.6.24_0 Documentation Issue
Reported by: | gwong@… | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | mysql56-server |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Prior to "sudo -u _mysql mysql_install_db" there needs to be:
chown -R _mysql:_mysql /opt/local/etc/mysql56/
This may be only applicable to Yosemite (I'm on v10.10.3) but it already noted in another ticket, #44978, and at http://serverfault.com/questions/543725/cant-start-mysql-5-6-installed-via-macports-on-os-x-10-8-5-new-install-errno .
WARNING: Could not write to config file /opt/local/etc/mysql56/my-new.cnf: Permission denied
This is the warning you get as part of the port install, but then you run into ERROR when running "sudo -u _mysql mysql_install_db"
As more and more users are on Yosemite, this may become more important. Thanks! Gary
Change History (3)
comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)
Component: | guide → ports |
---|---|
Owner: | changed from markd@… to pixilla@… |
Port: | mysql56-server added |
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Owner: | pixilla deleted |
---|---|
Status: | new → assigned |
See #57827
Note: See
TracTickets for help on using
tickets.
That should not be necessary. The mysql56-server port already creates that directory with the correct ownership. The only reason that should be necessary is if you had created the directory manually with the wrong ownership before installing the port.