On my mac, mysql suddenly stopped working after I reboot. After a lot of search, I checked my file permissions are messed up due to which mysql socket file was unable to create in tmp
I tried resetting permissions using following command as per this url
/usr/libexec/repair_packages --repair --standard-pkgs --volume /
result:
Permissions differ on "tmp", should be drwxrwxrwt , they are lrwxr-xr-x .
Unable to set owner & group on "tmp". Error 1: Operation not permitted
Unable to set permissions on "tmp". Error 1: Operation not permitted
ACL found but not expected on 'System'.
Unable to set owner & group on "System". Error 1: Operation not permitted
Unable to set permissions on "System". Error 1: Operation not permitted
can anyone know how I can fix this? I want mysql to run on my machine.
Fixed this issue with steps provided in following URL: https://www.reddit.com/r/mac/comments/55s9yg/getting_an_error_message_on_startup_coretelephony/
This is permission problem with var catalog '/tmp'. If You try to change permission this catalog, OS X do not let this change because, in system there is 'System Integrity Protection'. This SIP must be disabled before You change permission.
Try this: