当前位置:   article > 正文

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

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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/529660?site
推荐阅读
相关标签
  

闽ICP备14008679号