Bug #77013 [Com]: MySQLnd: auth_plugin_caching_sha2_password is missing again

From: Date: Thu, 08 Nov 2018 11:36:13 +0000
Subject: Bug #77013 [Com]: MySQLnd: auth_plugin_caching_sha2_password is missing again
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217868@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77013&edit=1 ID: 77013 Comment by: likeboat at 163 dot com Reported by: ademybiz at gmail dot com Summary: MySQLnd: auth_plugin_caching_sha2_password is missing again Status: Duplicate Type: Bug Package: MySQL related Operating System: CentOS7(Dockerized) PHP Version: 7.2.11 Assigned To: cmb Block user comment: N Private report: N New Comment: same as php 7.2.12, any plan to fix it ? thanks, Billy Previous Comments: ------------------------------------------------------------------------ [2018-10-15 17:20:52] cmb@php.net Duplicate of request #76243. ------------------------------------------------------------------------ [2018-10-15 14:16:28] ademybiz at gmail dot com Description: ------------ I maintain my own docker image and recently update for 7.2.9 to 11 then it fails to connect a MySQL8 server. Found difference of loaded plugins of MySQLnd, see below, "auth_plugin_caching_sha2_password" is missing. Test script: --------------- ./configure --prefix=/usr --with-config-file-path=/usr/etc --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-sysvshm --enable-inline-optimization --with-curl=/usr --enable-mbregex --enable-fpm --enable-mbstring --with-gd --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --with-libzip --enable-soap --with-bz2 --with-gmp --with-gettext --with-readline --enable-sockets --enable-calendar --enable-opcache --with-sodium (...build it) php -i|grep "Loaded plugins" Expected result: ---------------- Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password Actual result: -------------- Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77013&edit=1

« previous php.bugs (#217868) next »