PHP 7.4 now supports MySQL with caching_sha2_password, although it is a bit unclear around older versions, there seems to be conflicting reports. What is the support of caching_sha2_password in PHP < 7.4?
Aby mieć dostęp do tych funkcji, musisz skompilować PHP z obsługą rozszerzenia mysqli.
Informacja:
Rozszerzenie mysqli jest zaprojektowane do działania z MySQL w wersji 4.1.13 lub nowszej albo 5.0.7 lub nowszej. Dla starszych wersji, zapoznaj się z rozszerzeniem MySQL.
PHP 7.4 now supports MySQL with caching_sha2_password, although it is a bit unclear around older versions, there seems to be conflicting reports. What is the support of caching_sha2_password in PHP < 7.4?
Supported authentication methods are listed in the "Loaded plugins" row of the "mysqlnd" section in phpinfo(). Look for plugins that start with "auth_plugin_…".