brew操作mysql
小于 1 分钟
brew操作mysql
- 安装mysql
brew install mysql
- 启动mysql
brew services start mysql
- 停止mysql
brew services stop mysql
- 重启mysql
brew services restart mysql
在我的机器上,my.cnf
文件的位置在:/usr/local/etc/my.cnf
,默认情况下里面的内容为:
# Default Homebrew MySQL server config
[mysqld]
# Only allow connections from localhost
bind-address = 127.0.0.1
版权申明
本站点所有内容,版权均归https://wenchao.ren所有,除非明确授权,否则禁止一切形式的转载协议
打赏
