- macOS version:10.14.6 (Mojave)
brew tap homebrew/servicesand then
brew services start mysql
Error: Unknown command: services
How I can fix that? If you want more info please let me know.
brew commands and look what do you have in
I don’t have such section:
Well, that’s strange. Did you tried run
brew doctor --verbose?
Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin. Consider setting the PATH for example like so: echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshr
Here is what I did:
Still no external commands in
Let me guess… You didn’t added Homebrew completions in
Add to your zshrc:
if [[ -n "/usr/local" ]]; then FPATH=/usr/local/share/zsh/site-functions:$FPATH fi
➜ ~ tail -n 5 .zshrc export PATH="/usr/local/sbin:$PATH" if [[ -n "/usr/local" ]]; then FPATH=/usr/local/share/zsh/site-functions:$FPATH fi ➜ ~ source .zshrc ➜ ~ brew services start mariadb Error: Unknown command: services
Still no luck. Maybe I should reinstall homebrew?