文章目录 安装每次开机自己启动执行安全策略 安装 brew install mysql 每次开机自己启动 brew services start mysql 执行安全策略 mysql_secure_installation 然后根据提示操作