#43690: sudo: mysql_install_db5: command not found ---------------------------+-------------------------------- Reporter: jtjennings@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by jtjennings@…): Trying to Install MacPorts MAMP: Followed the steps with my old Mac a few years ago with out issue. https://trac.macports.org/wiki/howto/MAMP Now I am getting errors: When I execute this Command [[BR]] ~ sudo port install mysql5-server I got the following errors [[BR]] ============================= [[BR]] Error: org.macports.build for port mysql5 returned: command execution failed Error: Failed to install mysql5 Please see the log file for port mysql5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log Error: The following dependencies were not installed: mysql5 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port mysql5-server failed [[BR]] ============================= I reviewed and determined that I need to run [[BR]] ~ sudo port install mysql55-server [[BR]] and it installed. The next step fails with both options: [[BR]] Option 1) sudo -u mysql mysql_install_db5 [[BR]] Error Message [[BR]] ============================= [[BR]] sudo: mysql_install_db5: command not found [[BR]] ============================= [[BR]] I also tried [[BR]] ~ sudo -u mysql mysql_install_db55 [[BR]] Got the same error Option 2) sudo mysql_install_db5 Error Message [[BR]] ============================= [[BR]] sudo: mysql_install_db5: command not found [[BR]] ============================= I also Tried [[BR]] ~ sudo mysql_install_db55 [[BR]] Error Massage [[BR]] ============================= [[BR]] sudo: mysql_install_db55: command not found [[BR]] ============================= -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X