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



                  
                

相关文章

MySQL 死锁 是指两个或多个事务互相等待对方持有的锁,从而导...
在MySQL中,InnoDB引擎通过Next-Key Locking技术来解决幻读问...
在数据库事务管理中,Undo Log 和 Redo Log 是两种关键日志,...
case when概述 sql语句中的case语句与高级语言中的switch语句...
其实很简单,只是为了忘记,做个记录,用的时候方便。 不管是...
1.进入服务,找到mysql服务,在属性里找到mysql的安装路径 2...