brew mysql安装,在posinstall步骤中出错

前端之家收集整理的这篇文章主要介绍了brew mysql安装,在posinstall步骤中出错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

我一直在尝试安装mysql.我从我的系统中删除了所有MysqL安装.遵循以下步骤

> brew删除MysqL
>酿造清理
>关注this link卸载所有的MysqL.
>完整搜索任何与MysqL相关的文件
>重新启动计算机

现在全新安装brew安装MysqL,我在hte postinstall步骤中收到错误.终端输出

sahilgandhi:~ Sahil$brew install MysqL

==> Downloading https://homebrew.bintray.com/bottles/MysqL-5.7.9.el_capitan.bott
Already downloaded: /Library/Caches/Homebrew/MysqL-5.7.9.el_capitan.bottle.tar.gz
==> Pouring MysqL-5.7.9.el_capitan.bottle.tar.gz
==> /usr/local/Cellar/MysqL/5.7.9/bin/MysqLd --initialize --user=Sahil --basedir
Last 15 lines from /Users/Sahil/Library/Logs/Homebrew/MysqL/01.MysqLd:
--initialize
--user=Sahil
--basedir=/usr/local/Cellar/MysqL/5.7.9
--datadir=/usr/local/var/MysqL
--tmpdir=/tmp

2015-11-15T08:04:05.376664Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-11-15T08:04:05.387829Z 0 [Warning] 'NO_ZERO_DATE','NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2015-11-15T08:04:05.387847Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2015-11-15T08:04:05.551157Z 0 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/MysqL/ is case insensitive
2015-11-15T08:04:08.618316Z 0 [Warning] InnoDB: New log files created,LSN=45790
2015-11-15T08:04:09.125841Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2015-11-15T08:04:09.403537Z 0 [ERROR] unknown variable 'thread_concurrency=4'
2015-11-15T08:04:09.403591Z 0 [ERROR] Aborting

Warning: The post-install step did not complete successfully
You can try again using `brew postinstall MysqL`
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.

To connect:
MysqL -uroot

To have launchd start MysqL at login:
  ln -sfv /usr/local/opt/MysqL/*.plist ~/Library/LaunchAgents
Then to load MysqL now:
  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.MysqL.plist
Or,if you don't want/need launchctl,you can just run:
  MysqL.server start
==> Summary
 原文链接:https://www.f2er.com/mysql/433251.html

猜你在找的MySQL相关文章