[MacPorts] #43690: sudo: mysql_install_db5: command not found
#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 Keywords: | Port: --------------------------+-------------------------------- 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 ~ sudo port install mysql5-server I got the following errors ============================= 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 ============================= I reviewed and determined that I need to run ~ sudo port install mysql55-server and it installed. The next step fails with both options: Option 1) sudo -u mysql mysql_install_db5 Error Message ============================= sudo: mysql_install_db5: command not found ============================= I also tried ~ sudo -u mysql mysql_install_db55 Got the same error Option 2) sudo mysql_install_db5 Error Message ============================= sudo: mysql_install_db5: command not found ============================= I also Tried ~ sudo mysql_install_db55 Error Massage ============================= sudo: mysql_install_db55: command not found ============================= -- Ticket URL: <https://trac.macports.org/ticket/43690> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 egall@…): The mysql5 port is old and has been deprecated; it looks like that guide will have to be updated to reflect that... -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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@…): Replying to [comment:2 egall@…]:
The mysql5 port is old and has been deprecated; it looks like that guide will have to be updated to reflect that...
Yea, I kind of guessed that and figured out the 1st part [[br]] sudo port install mysql55-server [[br]] [[br]] but now I am stuck at the next step. not sure what the change is. -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43690: sudo: mysql_install_db5: command not found ---------------------------+-------------------------------- Reporter: jtjennings@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: wiki | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Changes (by mf2k@…): * priority: High => Normal * version: 2.2.1 => * component: ports => wiki Comment: The Priority field is for use by Macports team members only. -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43690: sudo: mysql_install_db5: command not found ---------------------------+-------------------------------- Reporter: jtjennings@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: wiki | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by egall@…): started updating the guide: wiki:howto/MAMP?action=diff&version=68 Replying to [comment:4 jtjennings@…]:
Replying to [comment:2 egall@…]:
The mysql5 port is old and has been deprecated; it looks like that guide will have to be updated to reflect that...
Yea, I kind of guessed that and figured out the 1st part {{{ sudo port install mysql55-server }}} but now I am stuck at the next step. not sure what to change on the other command is needed.
The newer mysql ports use the `port select` mechanism, so the "other command" will not be in your path by default unless you either run `port select` or add the port's directory for its binaries to your PATH. -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43690: sudo: mysql_install_db5: command not found ---------------------------+-------------------------------- Reporter: jtjennings@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: wiki | Version: Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by pixilla@…): The MAMP should be updated. In the mean time check out the notes for mysql55-server: {{{ $ port notes mysql55-server }}} -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43690: sudo: mysql_install_db5: command not found ---------------------------+-------------------------------- Reporter: jtjennings@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: wiki | Version: Resolution: | Keywords: Port: mysql5 | ---------------------------+-------------------------------- Changes (by ryandesign@…): * port: => mysql5 Old description:
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 ~ sudo port install mysql5-server I got the following errors ============================= 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 =============================
I reviewed and determined that I need to run ~ sudo port install mysql55-server and it installed.
The next step fails with both options: Option 1) sudo -u mysql mysql_install_db5 Error Message ============================= sudo: mysql_install_db5: command not found ============================= I also tried ~ sudo -u mysql mysql_install_db55 Got the same error
Option 2) sudo mysql_install_db5 Error Message ============================= sudo: mysql_install_db5: command not found =============================
I also Tried ~ sudo mysql_install_db55 Error Massage ============================= sudo: mysql_install_db55: command not found =============================
New description: Trying to Install MacPorts MAMP: Followed the steps with my old Mac a few years ago with out issue. wiki:howto/MAMP Now I am getting errors: When I execute this Command {{{ ~ sudo port install mysql5-server] }}} I got the following errors {{{ 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 }}} I reviewed and determined that I need to run {{{ ~ sudo port install mysql55-server }}} and it installed. The next step fails with both options: Option 1) {{{ sudo -u mysql mysql_install_db5 }}} Error Message {{{ sudo: mysql_install_db5: command not found }}} I also tried {{{ ~ sudo -u mysql mysql_install_db55 }}} Got the same error Option 2) {{{ sudo mysql_install_db5 }}} Error Message {{{ sudo: mysql_install_db5: command not found }}} I also Tried {{{ ~ sudo mysql_install_db55 }}} Error Massage {{{ sudo: mysql_install_db55: command not found }}} -- -- Ticket URL: <https://trac.macports.org/ticket/43690#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts