#19451: BUG:Port cant execute mysqld_safe ---------------------------------+------------------------------------------ Reporter: naruto97d@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: mysql5 | Port: mysql5 ---------------------------------+------------------------------------------ Comment(by ryandesign@…): I couldn't tell from your message: which did you run without sudo -- mysqld_safe or mysql_install_db? As far as I know, you should run both commands with sudo -- the former should run as root while the latter should run as the mysql user -- so I'm not surprised you're running into trouble if you don't do this. Your patch just changes a "mkdir" into a "mkdir -p", which would create intermediate directories. I do not see how this would relate to your permissions issues. However, this may be a useful patch generally, which you should feel free to file in the [http://bugs.mysql.com/ MySQL issue tracker]. -- Ticket URL: <http://trac.macports.org/ticket/19451#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS