start mysql service homebrew code example Example: homebrew restart service brew services restart mysql