MySQL WorkBench 8.0.25出现“Exception: Current profile has no WMI enabled"
找到文件
C:\Program Files\MySQL\MySQL Workbench 8.0\workbench\os_utils.py
修改编码utf-8到gbk即可解决
process = subprocess.Popen(command, stdin = subprocess.PIPE, encoding="utf-8", stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell=True)
process = subprocess.Popen(command, stdin = subprocess.PIPE, encoding="gbk", stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell=True)

浙公网安备 33010602011771号