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,默认情况下里面的内容为:

1
2
3
4
# Default Homebrew MySQL server config
[mysqld]
# Only allow connections from localhost
bind-address = 127.0.0.1
# 杂谈

Comentarios

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×