installation
Method 1: homebrew
brew install mysql
Method two: dmg file is installed through the official website (Mac)
https://dev.mysql.com/downloads/mysql/
By homebrew install mysql
Open from the start
brew services start mysql
Note: If we specified version is installed with a version number such as to brew services start [email protected] 5.6 then start
start up
brew services run mysql
Note: If we installed a specific version for example, to brew services with the version number 5.6 then start run [email protected]
Restart
brew services restart mysql
Note: If we install the specified version 5.6, for example, then to brew services with the version number when you restart restart [email protected]
stop
brew services stop mysql
Note: If we specified version is installed with a version number such as to brew services stop [email protected] 5.6 then restart
reference
After installing homebrew by mysql, how good it is set inside the system and no mysql?