2.3.3.3.1.2 Authentication Method身份验证方法

The Authentication Method step is visible only during the installation or upgrade of MySQL 8.0.4 or higher. “身份验证方法”步骤仅在MySQL 8.0.4或更高版本的安装或升级过程中可见。It introduces a choice between two server-side authentication options. 它引入了在两个服务器端身份验证选项之间进行选择。The MySQL user accounts that you create in the next step will use the authentication method that you select in this step.您在下一步中创建的MySQL用户帐户将使用您在这一步中选择的身份验证方法。

MySQL 8.0 connectors and community drivers that use libmysqlclient 8.0 now support the mysql_native_password default authentication plugin. 使用libmysqlclient 8.0的MySQL 8.0连接器和社区驱动程序现在支持mysql_native_password默认身份验证插件。However, if you are unable to update your clients and applications to support this new authentication method, you can configure the MySQL server to use mysql_native_password for legacy authentication. 但是,如果您无法更新客户端和应用程序以支持这种新的身份验证方法,则可以将MySQL服务器配置为使用mysql_native_password进行旧身份验证。For more information about the implications of this change, see caching_sha2_password as the Preferred Authentication Plugin.有关此更改影响的更多信息,请参阅caching_sha2_password作为首选身份验证插件

If you are installing or upgrading to MySQL 8.0.4 or higher, select one of the following authentication methods:如果您正在安装或升级到MySQL 8.0.4或更高版本,请选择以下身份验证方法之一: