安装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