-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brew initialization mysql 5.7.11 failed #91
Comments
|
I also have a problem.
Gist : https://gist.github.com/bmichotte/3620cd84060cf00b77a104064a40feee |
@bmichotte Run |
@MikeMcQuaid I updated the gist with the result of What's the |
@bmichotte What's the output of running |
I also had this error, I did |
@littlethoughts That's beyond Homebrew's scope, I'm afraid. |
@MikeMcQuaid nothing... not a single character ~ /usr/local/Cellar/mysql/5.7.11/bin/mysqld --initialize-insecure --user=benjamin --basedir=/usr/local/Cellar/mysql/5.7.11 --datadir=/usr/local/var/mysql --tmpdir=/tmp
~ (already |
@bmichotte I'm not sure what to do then, I'm afraid. I think you'll need to take this to the MySQL developers. |
@MikeMcQuaid I have the same question. when I exec
but I have solved it using some command below
|
So just so we're clear, no one has accurately figured out why this doesn't work? I ask this because installing directly from the MySQL web page doesn't work either - the preference pane won't start - you can't start it at all. I don't suppose Postgres conflicts with it? |
@jemagee For my case, I find some error log in so when I delete |
I'm afraid this isn't Homebrew specific and is about how to make MySQL work so I'm closing this out. I'd advise you read the MySQL documentation and talk to other MySQL users. |
Just FI, in my case, the culprit was a my.cnf file in /usr/local/etc Once removed, mysql restart |
@bmichotte thank u. You helped me a lot. |
I used brew to install mysql 5.7.11 but there are something wrong,console log it's
2016-04-06T02:09:32.966982Z 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. 2016-04-06T02:09:32.968752Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting. 2016-04-06T02:09:32.968771Z 0 [ERROR] Aborting Warning: The post-install step did not complete successfully,You can try again using
brew postinstall mysql`How can I fix it? Thank you!
The text was updated successfully, but these errors were encountered: