Bug 1631399

Summary: Connection with MySQL8.0
Product: Red Hat Software Collections Reporter: Remi Collet <rcollet>
Component: phpAssignee: Remi Collet <rcollet>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-php72CC: djez, jorton
Target Milestone: beta   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1631401 (view as bug list) Environment:
Last Closed: 2018-11-13 08:30:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1631401    

Description Remi Collet 2018-09-20 13:46:08 UTC
Proposal revert new authent algo (broken) until a better fix is available upstream (have been reverted upstream in upcoming 7.2.11)

Comment 2 Remi Collet 2018-09-27 08:28:34 UTC
With old versions (5.4.16 in RHEL or 7.0.27, 7.1.8 in RHSCL) we have a "access denied" (only when new authentication module is enabled)

With 7.2.10 we got
PHP Warning:  mysqli_connect(): Unexpected server respose while doing caching_sha2 auth: 99 in /root/tests/my8.php on line 12

And the process hangs, which seems terribly bad.

So the proposal is to revert to same behavior as old versions, following upstream
https://github.com/php/php-src/commit/03740ef7dffcc80530a89ebde3ccf5464f7f18e6#diff-74b4da421ff56d55e241032f33450d93

 (which wil be in upcomming 7.1.23 and 7.2.11)

Comment 7 errata-xmlrpc 2018-11-13 08:30:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3552