brew install mysql-server code example Example: homebrew install mysql RUN THIS COMMAND : mysql_secure_installation