Bug #104542 MANAGEMENT-Server Status break
Submitted: 5 Aug 2021 0:52 Modified: 5 Aug 2021 15:08
Reporter: yuguo huang (OCA) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S1 (Critical)
Version:8.0.26 OS:Windows (Microsoft Windows 10 Enterprise LTSC 2019)
Assigned to: CPU Architecture:x86
Tags: WBBugReporter

[5 Aug 2021 0:52] yuguo huang
Description:
----[For better reports, please attach the log file after submitting. You can find it in C:\Users\10005779\AppData\Roaming\MySQL\Workbench\log\wb.log]

MANAGEMENT-Server Status break
Error Message
Could not acquire management access for administration
RuntimeError:Target host is configured as Windows,but seems to be a different OS,Please review the connection settings.

How to repeat:
WIN10 X64 ZH-CN
Click "MANAGEMENT"-"Server Status"

Suggested fix:
in file os_utils.py

process = subprocess.Popen(command, stdin = subprocess.PIPE, encoding="utf-8", stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell=True)

            # Sends all the command output to the listener
            if output_handler:
                for line in iter(process.stdout.readline, ""):

change encoding to gbk fix problem
[5 Aug 2021 0:54] yuguo huang
MySQL Workbench error log

Attachment: wb.log (application/octet-stream, text), 9.22 KiB.

[5 Aug 2021 12:43] MySQL Verification Team
Hello,

Thank you for the bug report.
I tried to reproduce your issue on windows 10 with workbench 8.0.26 but I am not seeing any issues at my end. 

Regards,
Ashwini Patil
[5 Aug 2021 14:58] yuguo huang
hello,i think the problem can only repeat in Simplified Chinese(ZH-CN) default Using GBK Encoding ,WIN10 system
[5 Aug 2021 15:08] yuguo huang
hello,i think the problem can only repeat in Simplified Chinese(ZH-CN)WIN10 system default Using GBK Encoding 

to repeat the problem,you need to setting
Language for non-Unicode programs set to 中文(简体,中国) 

i have found old version of mysql workbench ,8.0.22 work well in my system