brew安装mysql踩坑:data directory has files in it和unknown variable ‘mysqlx-bind-address=127.0.0.1’

安装mysql的步骤参考的https://blog.csdn.net/stupid56862/article/details/86476136博客
执行brew install mysql@5.7命令的时候输出如下

$ brew install mysql@5.7
==> Downloading https://ghcr.io/v2/homebrew/core/mysql/5.7/manifests/5.7.34
Already downloaded: /Users/bytedance/Library/Caches/Homebrew/downloads/bede69c91ac2034b7482dc9c89c4bfc2c11780da50ac1c9c136dc9b7d45bd96d--mysql@5.7-5.7.34.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/mysql/5.7/blobs/sha256:baf50315c60aef1b4598999f95f2
Already downloaded: /Users/bytedance/Library/Caches/Homebrew/downloads/25f0fa24a48854bebec5fbc6420b9dbcf6566bbc3c820f9f95165f07ed695997--mysql@5.7--5.7.34.big_sur.bottle.tar.gz
==> Reinstalling mysql@5.7
==> Pouring mysql@5.7--5.7.34.big_sur.bottle.tar.gz
==> /usr/local/Cellar/mysql@5.7/5.7.34/bin/mysqld --initialize-insecure --user=bytedance --basedir=/
Last 15 lines from /Users/bytedance/Library/Logs/Homebrew/mysql@5.7/post_install.01.mysqld:

/usr/local/Cellar/mysql@5.7/5.7.34/bin/mysqld
--initialize-insecure
--user=bytedance
--basedir=/usr/local/Cellar/mysql@5.7/5.7.34
--datadir=/usr/local/var/mysql
--tmpdir=/tmp

2021-05-07T17:20:17.406513Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentati
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值