Opened 9 years ago

Last modified 5 years ago

#47831 assigned defect

mysql56-server @5.6.24_0 Documentation Issue — at Initial Version

Reported by: gwong@… Owned by: markd@…
Priority: Low Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: mysql56-server

Description

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, https://trac.macports.org/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 (0)

Note: See TracTickets for help on using tickets.