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

Herby G herby.gillot at gmail.com
Sat Oct 3 19:44:39 UTC 2020


Did you do the initial set up?

You can take a look at the log in /opt/local/var/log/mysql

On Sat, Oct 3, 2020, 15:11 Murray Eisenberg <murray at math.umass.edu> wrote:

> Something seems to be wrong:
>
> sudo port load mysql8-server
> -->  Loading startupitem 'mysql8-server' for mysql8-server
>
> ps -ax | grep mysql
> 39298 ttys001    0:00.00 grep mysql
>
> Is the mysql8 server actually running??
>
> Should there be a process found for mysqld?
>
> On 3 Oct2020, at 1:52 PM, Herby G <herby.gillot at gmail.com> wrote:
>
> 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
>>
>
> ——
> Murray Eisenberg                                murray at math.umass.edu
> Professor Emeritus
> Mathematics & Statistics Dept.
> University of Massachusetts
> Amherst, MA USA
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201003/02540d4f/attachment.htm>


More information about the macports-dev mailing list