配置安装,复制相应.dll到C:\Qt\Qt5.12.0\5.12.0\mingw73_64\bin依旧无法使用Mysql,提示无驱动。
登陆提示:Authentication plugin ‘caching_sha2_password’ cannot be loaded
出现这个原因是mysql8之前的版本中加密规则是mysql_native_password,
而在mysql8之后,加密规则是caching_sha2_password,
解决问题方法有两种,
一种是升级navicat驱动,
一种是把mysql用户登录密码加密规则还原成mysql_native_password.