ERROR 2049 (HY000): Connection using old (pre-4.1.1)
测试环境新装了MySQL服务器,在登陆时无法成功登陆。其提示为使用的旧的认证协议而被拒绝。其具体的错误提示为ERROR 2049 (HY000
测试环境新装了MySQL服务器,在登陆时无法成功登陆。其提示为使用的旧的认证协议而被拒绝。其具体的错误提示为ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)以下是关于这个问题的描述及其解决方案,供大家参考。
1、故障现象
[root@HKBO ~]# mysqladmin -u root password 'Mysqlxxx'
[root@HKBO ~]# mysql -uroot -p
Enter password:
ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
2、有关secure_auth参数
Command-Line Format --secure-auth
System Variable Name
Variable Scope Global
Dynamic Variable Yes
Permitted Values (Type
上一篇: php的数组传值调用与传址调用
下一篇: MySQL启用SSD存储
推荐阅读
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refuse
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refused
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refuse
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refuse
-
mysql_connect(): Connection using old (pre-4.1.1) authentica_MySQL
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refused
-
ERROR 2049 (HY000): Connection using old (pre-4.1.1)
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refuse