【已解答】mysql从5.7升到8.0老是警告报错
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:mysql8.0系统版本:Debian 12
问题描述mysql从5.7升到8.0老是警告报错
相关截图(日志、错误):2025-07-17T04:14:51.187506Z 32083 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'2025-07-17T04:14:52.306626Z 32084 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'2025-07-17T04:14:52.535449Z 32085 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'2025-07-17T04:14:52.921076Z 32086 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'2025-07-17T04:14:53.123834Z 32087 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'2025-07-17T04:14:53.426875Z 32088 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'2025-07-17T04:14:53.544153Z 32089 Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
这个是从 MySQL 8.0.4 开始,MySQL 默认身份验证插件从 mysql_native_password改为 caching_sha2_password,这个提示不会影响当前功能
确定程序支持新的认证方式,也可以修改配置改为caching_sha2_password
不清楚的情况,不建议改动
页:
[1]