You attempt to connect to a MySQL Server by using the mysql client program. However, you receive this notice:
ERROR 2059 (HY000): Authentication plugin ‘mysql clear password’ cannot be loaded: plugin not enabled
What would you run to fix the issue?
A、the mysql client with the --ignore-password-hashing option
B、the mysql client with the --enable-cleartext-plugin option
C、the install plugin command for the mysql_cleartext_password plugin
D、the mysql_secure_installation script to update server security settings
E、the mysql_upgrade script
您尝试使用MySQL客户端程序连接到MySQL服务器。但是,您会收到以下通知:
ERROR 2059 (HY000): Authentication plugin ‘mysql clear password’ cannot be loaded: plugin not enabled
您将运行什么来解决问题?
A、 带有–ignore-password-hashing选项的mysql客户端
B、 带有–enable-cleartext-plugin选项的mysql客户端
C、 安装mysql_cleartext_password插件的命令
D、 用于更新服务器安全设置的mysql_secure_installation脚本
E、 mysql_upgrade脚本
B
本题考察MySQL客户端明文密码认证插件的相关知识。
客户端mysql_clear_password(明文密码认证)插件可以让客户端能以明文形式向服务器发送密码,而无需散列或加密。
为了避免误用mysql_clear_password插件的可能性降低,默认不启用该插件,可以通过如下方法启用:
官方参考文档