Installed [email protected] using brew mysql.server not a command
I think you need to start the service as well:
brew services start [email protected]
You can then check so the mysql service is running using:
brew services list
Now try to create symlinks for the mysql package:
brew link --force [email protected]
You might need to add the location to mysql to your path, to find the location of the package:
brew list [email protected]
Then add the location to the bin
folder to the end of your ~/.profile
or ~/.bash_profile
file. For instance:
export PATH=$PATH:/usr/local/Cellar/[email protected]/5.6.41/bin
Then reload the file:
source ~/.bash_profile
Now you should be able to use the mysql
and connect to the local running server.