MySQL on macOS suddenly fails to start

There is no response after starting the local mysql again after not being used for a long time.

How to solve:

sudo chown -R mysql /usr/local/mysql/data

 Then enter:

sudo /usr/local/mysql/support-files/mysql.server start

  Try connecting using idea

 

Guess you like

Origin blog.csdn.net/qq_23938507/article/details/130409529