stop and restart homebrew on mac tirminal code example Example: homebrew restart service brew services restart mysql