搜索安装包:brew search mysql
安装:brew install mysql
后台启动:brew service start mysql
终端启动(关闭后断开):mysql.server start
密码设置:mysql_secure_installation