[MacPorts] #61267: Error in mysqld_safe from mysql8-server

Herby G herby.gillot at gmail.com
Sat Oct 3 17:52:31 UTC 2020


Hello Murray,

Instructions for setting up mysql8-server after installation with MacPorts
are shown in the console right after installation.

You can review these using 'port notes':

$ port notes mysql8-server

Then you would start the mysql8-server service using 'port load':

$ sudo port load mysql8-server

To stop and disable the service, use 'port unload':

$ sudo port unload mysql8-server

On Sat, Oct 3, 2020, 13:38 MacPorts <noreply at macports.org> wrote:

> #61267: Error in mysqld_safe from mysql8-server
> --------------------------+---------------------------
>  Reporter:  murrayE       |      Owner:  (none)
>      Type:  defect        |     Status:  new
>  Priority:  Normal        |  Milestone:
> Component:  ports         |    Version:  2.6.3
>  Keywords:  syntax error  |       Port:  mysql8-server
> --------------------------+---------------------------
>  After installing mysql8-server, I tried running it with command:
>
>  {{{
>  sudo /opt/local/share/mysql8/support-files/mysql.server start
>  }}}
>
>  After the prompt for, and giving, my password, the following happens:
>
>  {{{
>  Starting MySQL
>  ./opt/local/bin/mysqld_safe: line 810: syntax error near unexpected token
>  `then'
>  /opt/local/bin/mysqld_safe: line 810: `    then    # The pid contains a
>  mysqld process'
>   ERROR! The server quit without updating PID file
>  (/opt/local/var/run/mysqld/mysqld.pid).
>  }}}
>
> --
> Ticket URL: <https://trac.macports.org/ticket/61267>
> MacPorts <https://www.macports.org/>
> Ports system for macOS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201003/90c8aca9/attachment.htm>


More information about the macports-dev mailing list