1. 首先我们通过brew 安装mysql
mysql install
2. 设置开机启动:
$ ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
3. 修改mysql配置
通过这命令,可以看出mysql默认调用的配置文件路径:
![](https://img.haomeiwen.com/i7705787/12439f7309243fc8.png)
![](https://img.haomeiwen.com/i7705787/c5228bd3fe90a4e5.png)
1. 首先我们通过brew 安装mysql
mysql install
2. 设置开机启动:
$ ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
3. 修改mysql配置
通过这命令,可以看出mysql默认调用的配置文件路径:
本文标题:针对 Homebrew 安装Mysql8配置文件
本文链接:https://www.haomeiwen.com/subject/vbtuvftx.html
网友评论