出现如下问题,使用navicat链接数据库的时候
出现1251Client does not support authentication protocol requested by server
主要原因是因为mysql的版本更新,越新的版本,身份验证机制越加严格,一开始的验证插件为mysql_native_password
更改成了caching_sha2_password
解决方法如下:
- 进入mysql内部数据库中
mysql -uroot -p;
- 查询其用户数据库中的值
select host,user,plugin,authentication_string from mysql.