Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mysql 8.0.11, mysql@5.7 5.7.22 (new formula)#27210

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
commitay wants to merge2 commits intoHomebrew:masterfromcommitay:mysql-8.0.11
Closed

mysql 8.0.11, mysql@5.7 5.7.22 (new formula)#27210

commitay wants to merge2 commits intoHomebrew:masterfromcommitay:mysql-8.0.11

Conversation

@commitay
Copy link
Contributor

  • Have you followed theguidelines for contributing?
  • Have you checked that there aren't other openpull requests for the same formula update/change?
  • Have you built your formula locally withbrew install --build-from-source <formula>, where<formula> is the name of the formula you're submitting?
  • Does your build passbrew audit --strict <formula> (after doingbrew install <formula>)?

MisatoTremor, byan, dmyers, vinkla, quaff, and fengerzh reacted with thumbs up emoji
@commitaycommitay changed the titlemysql 8.0.11mysql 8.0.11, mysql@5.7 5.7.22 (new formula)Apr 28, 2018
@commitaycommitay added new formulaPR adds a new formula to Homebrew/homebrew-core legacyRelates to a versioned @ formula labelsApr 28, 2018
@cristhiank
Copy link

Looking forward to this formula to be available. Thanks! (Y)

timpalpant and VonUniGE reacted with thumbs up emoji

@commitaycommitay requested a review fromilovezfsJune 9, 2018 00:12
@Rajat-Ahuja1997
Copy link

When will this be merged?

@ilovezfs
Copy link
Contributor

Shipped! 🍪

@commitaycommitay deleted the mysql-8.0.11 branchJune 13, 2018 23:05
@mfraase
Copy link

MySQL 8.0.11 usescaching_sha2_password as the default authentication method (leave it to Oracle to do something like this in a point release, but there you have it).

So far, it breaks everything I've tried: phpMyAdmin, Nextcloud, and WordPress.

@ilovezfs
Copy link
Contributor

@mfraase I'm not sure what you mean by "point release" here. This was a major version upgrade.

@mfraase
Copy link

@ilovezfs My understanding is that MySQL 8.0.xprior to 8.0.11 did not usecaching_sha2_password as the default authentication method. If I'm mistaken, my apologies; if not, my comment stands.

In any case, the outcome is the same: Homebrew pushed out MySQL 8.0.11 as an upgrade yesterday. It breaks everything I've tried.

@ilovezfs
Copy link
Contributor

Ah, I see. Did you figure out how to change the setting such that it works?

@mfraase
Copy link

@ilovezfs Sadly, no. I spent all day trying a variety of things and just rolled back to MySQL 5.7.22.

Disclosure: I'm a writer, editor, and UX practitioner; not a coder (nor much of a system administrator; my development/staging server is down and I could have sworn I had MySQL pinned in Homebrew, but didn't).

@cristhiank
Copy link

Hi@mfraase, you can disable the caching_sha2_password by setting the––default-authentication-plugin= mysql_native_password option in the my.cnf or in the startup options.

https://mysqlserverteam.com/mysql-8-0-4-new-default-authentication-plugin-caching_sha2_password/

@mfraase
Copy link

Thanks @christhiank. Setting the default-authentication-plugin in my.cnf was the first thing I tried. It didn't work. I find this graf from the article you cite perplexing in the extreme:

User accounts already created in existing instances are not altered as a part of an upgrade. So, all existing user accounts continue to use the same authentication plugin that they used in e.g. MySQL 5.7. However, if you create a new user without changing –-default-authentication-plugin explicitly, caching_sha2_password is used as authentication mechanism for such users.

So, I take it existing user accounts continue to use MySQL 5.7.x authentication; newly created user accounts default to caching_sha2_password authentication. Fine if it worked. But in my experience it doesn't (existing user accounts are apparently "upgraded" to caching_sha2_password authentication (based on error log entries).

The article cited is specific to MySQL 8.0.4, so maybe the behavior changed in 8.0.11, although I don't see any mention of it in the 8.0.11 release notes:

https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html

maartenpaauw reacted with thumbs up emoji

@mfraase
Copy link

Three step solution:

  1. Add to[mysqld] section ofmy.cnf file:

default-authentication-plugin=mysql_native_password

  1. At shell prompt:

mysql -u root -p

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '[password]';

exit

  1. Reboot server

Short version solution

Long version solution

@mfraase
Copy link

The solution provided above is partial, at best. In my experience MySQL 8.0.11 is not nearly ready for production (or even development) use.

@HomebrewHomebrew locked asoff-topicand limited conversation to collaboratorsJun 19, 2018
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@ilovezfsilovezfsAwaiting requested review from ilovezfs

Assignees

No one assigned

Labels

legacyRelates to a versioned @ formulanew formulaPR adds a new formula to Homebrew/homebrew-core

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@commitay@cristhiank@Rajat-Ahuja1997@ilovezfs@mfraase

[8]ページ先頭

©2009-2025 Movatter.jp