Once homebrew has completed installing itself, double check your work.
brew update && brew doctor
Homebrew is a package manager so here's how you install packages such as MySQL, MongoDB or Postges.
brew install [product]
Uninstalling a Package
brew uninstall [product]
Get the info of a specific package
brew info [product]
View your installed Homebrew packages.
Find a specific function through filters.
brew list | grep 'package-name'
View all top-level packages.
Homebrew has a tap command that allows it to tap into other software repositories allowing you to expand your options of installable software. One of those repos is called services which can help you start, stop and restart your databases.