MacOS Can't start MySQL Server

后端 未结 9 920
甜味超标
甜味超标 2021-02-13 03:58

I have MacOS Sierra. I have installed MySQL Server which has been working, however, after a reboot of the Mac Book, I cannot start the MySQL Server.

I have trie

相关标签:
9条回答
  • 2021-02-13 04:47

    After installing Mysql 8.0.12 on MacOS High Sierra, Mysql server would not start up. I tried several suggestions like removing mysql and reinstalling it, rebooting the computer and changing file permissions, all to no avail. I finally got it to work by removing /etc/my.cnf.

    0 讨论(0)
  • 2021-02-13 04:50

    In my case, First time, after installing Mysql, Mac needs a restart.

    So restarting Mac, after installation, fixed the issue for me.

    MacOS doesn't come with a my.cnf file. Default settings will suffice the needs for basic usage. Once we need to override them, it makes sense to have a custom configurations.

    0 讨论(0)
  • 2021-02-13 04:53

    This solution works for me.

    You have to open the activity monitor up and search for mysqld service. Once selected, just click the delete button located in the up left part and you will see the memory goes down. After that, you can verify your mysql server status from System Preferences and the service is up.

    With this solution you don't have to restart your machine and get to work fast.

    0 讨论(0)
提交回复
热议问题