Created
July 12, 2025 06:52
-
-
Save Howard20181/2ff72aa54b6aa3edc2250bd02beee726 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| KB:MySQL Workbench 8.0.42 does not support non-utf-8 encoding Windows systems | |
| When you see the following pop-up window | |
| 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. | |
| or there is an error message in the log about os_utils.py indicating that the utf-8 encoding conversion failed, apply the following patch | |
| edit C:\Program Files\MySQL\MySQL Workbench 8.0\workbench\os_utils.py | |
| add locale to imports | |
| edit line | |
| 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 = locale.getencoding(), stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment