MYSQL日志中有大量的这个错误
[Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
amh版本7.52
MySQL是8.0
有搜到解决方案, 但是想从amh面板中直接解决, 而不是通过直接去修改MySQL的配置项, 担心后面升级的时候会出现额外的问题.
我能否直接在"配置编辑方式"中把
default_authentication_plugin = mysql_native_password
修改为
default_authentication_plugin = caching_sha2_password
这个可以忽略。只要调用程序使用native密码验证,就一定会有这个错误。
新问题是:错误日志就变了成别的了。该有的日志还是会有。取决于应用程序。