0

I upgrade my OSX to 12.4. after that my brew mysql don't start.

I got:

$ brew services start mysql
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/gerd/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.

I think it's a permission problem. The brew mysql stop by root on upgrade to 12.4

brew services list
Name       Status  User      File
mysql      stopped root      ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

1 Answer 1

1

It was a problem of OSX permission for network connections. The mysqld need this permission. After finsh install 12.4 and restart, the mysqld don't have this permission! Perhaps, it was my mistake and I click the wrong button on a OSX permission dialog.

I rebooted 12.4 and after login I got the OSX permission dialog for mysqld. I granted network access. After it mysqld work fine!

2
  • I have the same issue, how can I give permission to the mysqld?
    – Abdes
    Sep 16, 2022 at 10:13
  • You got the permission dialog from OSX after reboot. Try a reboot of your system!
    – Gerd
    Sep 29, 2022 at 14:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .