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 <[email protected]> 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 >
