简体   繁体   中英

Client does not support authentication protocol requested by server; consider upgrading MySQL client

I am trying to connect MySQL client through a Perl script. But again and again I am getting error

ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client

My MySQL client has been upgraded from 5.1 to 5.6.

I am using Perl v5.12.0, DBD::mysql is 4.017, DBI is 1.613.

Is this problem with the Perl module or with MySQL.

in my.conf add

[mysqld]
skip-secure-auth=true

it permiss use old protocol, but your security exists no more. Do it only in development ambient.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM