0

I am in MySQl8.0 on macOS. I have tried two ways to stop mysqld:

  • kill this process from Activity Monitor, But It will restart immediately by itself. enter image description here

  • kill this with mysqlsadmin, but still failed.enter image description here

From PID, I know I actually kill it, but someone restart mysqld, but I don't know which guy restart this....

Shuai Li
  • 2,426
  • 4
  • 24
  • 43
  • Please edit your question to include the log files of your mysql service as well as the configuration of your mysql server. As you see, there is most likely a watchdog service running which restarts the mysql server in case it crashes (as seend by the PID). Also see https://dba.stackexchange.com/questions/124974/mysqld-keeps-automatically-restarting and https://stackoverflow.com/questions/8014500/macosx-autostart-mysql-on-boot – Progman Mar 03 '19 at 11:56
  • The solution is here https://stackoverflow.com/a/32910790/8252883. It work for me. Can anyone close this question? – Shuai Li Mar 03 '19 at 13:13

0 Answers0