在“sha2_password_common.cc”文件中,有一个名为“auth_sha2_password_plugin_data”的结构体。你需要在该结构体中添加以下代码: {MYSQL_AUTHENTICATION_PLUGIN_INTERFACE_VERSION,"cache_sha2_password_plug",cache_sha2_password_init,cache_sha2_password_deinit,NULL,NULL,NULL}, 1. 这段代码的作用是注册“...
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client Matomo-Forum: https://forum.matomo.org/t/mysqlv8-cache-sha2-password/56083 Environment Matomo Version: 5.0.3 PHP Version: 7.4.33 Server Operating System: SLES12 SP5...