zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

MySQL Variables sha256_password_public_key_path 数据库 参数变量解释及正确配置使用

mysql数据库配置变量 使用 解释 参数 正确
2023-06-13 09:11:25 时间
本站中文解释

sha256_password_public_key_path变量指定用SQL 连接服务器时,MySQL服务器用以验证比较sha256_password用户账户是否有效的公共密钥文件的路径。

设置sha256_password_public_key_path参数变量通过如下语句:

SET [GLOBAL | SESSION] sha256_password_public_key_path = /path/public_key.pem

GLOBAL表示对所有服务器上的MySQL用户有效,SESSION表示只对当前MySQL会话有效。

官方英文解释 sha256_password_public_key_path


This variable is available if MySQL was compiled using OpenSSL
(see Section 6.3.4, “SSL Library-Dependent Capabilities”). Its value is the path
name of the RSA public key file for the
sha256_password authentication plugin. If
the file is named as a relative path, it is interpreted
relative to the server data directory. The file must be in PEM
format. Because this file stores a public key, copies can be
freely distributed to client users. (Clients that explicitly
specify a public key when connecting to the server using RSA
password encryption must use the same public key as that used
by the server.)

For information about sha256_password,
including information about how clients specify the RSA public
key, see Section 6.4.1.5, “SHA-256 Pluggable Authentication”.


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 MySQL Variables sha256_password_public_key_path 数据库 参数变量解释及正确配置使用