this is tutorial on how to install mysql with brew on mac
https://brew.sh/
open terminal
type in command "brew install mysql"
to start the server it is "mysql.server start"
to see status of server it is "mysql.server status"
to shut down the mysql server it is "mysql.server. shutdown"