安装包方式

  1. 下载:https://dev.mysql.com/downloads/mysql/

Brew方式

  1. 安装: brew install mysql@5.6
  2. 配置文件:/usr/local/etc/my.cnf
  3. 启动:brew services start mysql@56
  4. 初始化配置:mysql_secure_installation