[MacPorts] #43690: sudo: mysql_install_db5: command not found

MacPorts noreply at macports.org
Sun May 25 14:39:25 PDT 2014


#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


More information about the macports-tickets mailing list