Req #76243 [Com]: mysql 8 - new default_authentication_plugin

From: Date: Wed, 25 Jul 2018 06:46:20 +0000
Subject: Req #76243 [Com]: mysql 8 - new default_authentication_plugin
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216438@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76243&edit=1

 ID:                 76243
 Comment by:         wapinet at mail dot ru
 Reported by:        wapinet at mail dot ru
 Summary:            mysql 8 - new default_authentication_plugin
 Status:             Open
 Type:               Feature/Change Request
 Package:            MySQL related
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

see https://github.com/php/php-src/commit/d6e81f0bfd0cb90586dd83d4fd47a4302605261a


Previous Comments:
------------------------------------------------------------------------
[2018-04-20 09:49:11] wapinet at mail dot ru

Description:
------------
https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
>> For the server, the default value of the default_authentication_plugin system variable
>> changes from mysql_native_password to caching_sha2_password. 
>>Clients that use an implementation of the client/server protocol other than libmysqlclient
>>may need to be upgraded to a newer version that understands the new authentication plugin. For
>>example, in PHP, MySQL connectivity usually is based on mysqlnd, which currently does not know about
>>caching_sha2_password. Until an updated version of mysqlnd is available, the way to enable PHP
>>clients to connect to MySQL 8.0 is to reconfigure the server to revert to mysql_native_password as
>>the default authentication plugin, as previously discussed. 

so, need implement new default_authentication_plugin (caching_sha2_password).



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=76243&edit=1


Thread (9 messages)

« previous php.bugs (#216438) next »