安装MySQL8.0.25后,出现“Exception: Current profile has no WMI enabled”错误解决方案
问题描述
最近更新MySQL到8.0.25版本后,查看ServerStatus,出现“Exception: Current profile has no WMI enabled”错误,出于人的惰性,直接baidu->google->stackoverflow->oracle…然而找到的办法大多是提示:
- Open MySQL Workbench
- click on “Manage Server Instances” under “Server Administration” column
- close the screen again.
- Now click on the instance again, the issue should be fixed.
或者 - Open MySQL Workbench
- Click Manage Server Instances
- Select System Profile tab
- Check box(es) to acquire Admin privileges
然而问题仍然没有解决。
解决方案
经过阅读log中给出的出错提示:
20:18:21 [ERR]

在升级到MySQL8.0.25后,用户遇到查看ServerStatus时显示'Exception:CurrentprofilehasnoWMIenabled'的错误。尝试了网上多种解决方案无效。通过分析错误日志,发现问题是由于编码设置导致的。解决方案包括:将操作系统语言切换为英文,修改MySQLWorkbench源代码中涉及的编码,或者回退到旧版本。确保MySQL服务已启动且安装配置正确。
最低0.47元/天 解锁文章
1259





