使用localhost登录mysql执行以下语句update mysql.user set host='%' where USER='root';
重启mysql服务
Powered by: 博客园 Copyright © 2024 高山老王 Powered by .NET 8.0 on Kubernetes