Bug #112611 Cannot connect with the server due error of different OS
Description:
C:\Users\ferru\AppData\Roaming\MySQL\Workbench\log
How to repeat:
I'm not being abble to connect with the server due an error of "Target host is configured as Windows, but it seems to be a different OS." But I'm pretty sure that I'm using a Windows device. How to proceed ?
22:43:16 [ERR][ Workbench]: Console redirection failed.
22:43:16 [INF][ Workbench]: Starting up Workbench
22:43:16 [INF][ Workbench]: Current environment:
Command line: "C:\Program Files\MySQL\MySQL Workbench 8.0\MySQLWorkbench.exe"
CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 8.0
HasShutdownStarted: False
OSVersion: Microsoft Windows NT 6.2.9200.0
SystemDirectory: C:\WINDOWS\system32
TickCount: 206453
UserInteractive: True
Version: 4.0.30319.42000
WorkingSet: 37916672
22:43:16 [INF][ Workbench]: Environment variables:
COMPUTERNAME = MVVC
USERPROFILE = C:\Users\ferru
HOMEPATH = \Users\ferru
LOCALAPPDATA = C:\Users\ferru\AppData\Local
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PROCESSOR_ARCHITECTURE = AMD64
Path = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\ferru\AppData\Local\Microsoft\WindowsApps;;C:\Users\ferru\AppData\Local\Programs\Microsoft VS Code\bin
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
PROCESSOR_LEVEL = 6
EFC_7868 = 1
LOGONSERVER = \\MVVC
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
HOMEDRIVE = C:
SystemRoot = C:\WINDOWS
SESSIONNAME = Console
ALLUSERSPROFILE = C:\ProgramData
DriverData = C:\Windows\System32\Drivers\DriverData
APPDATA = C:\Users\ferru\AppData\Roaming
PROCESSOR_REVISION = 8e0a
USERNAME = ferru
CommonProgramW6432 = C:\Program Files\Common Files
OneDrive = C:\Users\ferru\OneDrive
CommonProgramFiles = C:\Program Files\Common Files
OS = Windows_NT
USERDOMAIN_ROAMINGPROFILE = MVVC
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
ComSpec = C:\WINDOWS\system32\cmd.exe
SystemDrive = C:
TEMP = C:\Users\ferru\AppData\Local\Temp
ProgramFiles = C:\Program Files
NUMBER_OF_PROCESSORS = 4
TMP = C:\Users\ferru\AppData\Local\Temp
ProgramData = C:\ProgramData
ProgramW6432 = C:\Program Files
windir = C:\WINDOWS
USERDOMAIN = MVVC
PUBLIC = C:\Users\Public
22:43:16 [INF][ Workbench]: Current version given by meta info is: 8.0.34
22:43:16 [INF][ Workbench]: Setting PATH to: C:\WINDOWS\system32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\ferru\AppData\Local\Microsoft\WindowsApps;;C:\Users\ferru\AppData\Local\Programs\Microsoft VS Code\bin
22:43:16 [INF][ mforms managed]: Initializing mforms wrapper
22:43:16 [INF][ WBContext UI]: Initializing workbench context UI with these values:
base dir: C:\Program Files\MySQL\MySQL Workbench 8.0
plugin path: C:\Program Files\MySQL\MySQL Workbench 8.0
struct path:
module path: C:\Program Files\MySQL\MySQL Workbench 8.0/modules
library path: C:\Program Files\MySQL\MySQL Workbench 8.0
user data dir: C:\Users\ferru\AppData\Roaming\MySQL\Workbench
open at start:
open type:
run at startup:
run type:
Force SW rendering: No
Force OpenGL: No
quit when done: No
22:43:16 [INF][ WBContext]: WbContext::init
22:43:17 [INF][ WBA]: Looking for extension modules for WBA...
22:43:17 [INF][ WBA]: 0 extension modules found
22:43:17 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
22:43:17 [WRN][ grt]: C:\Users\ferru\AppData\Roaming\MySQL\Workbench\server_instances.xml:27: link '{7E384D82-21AB-4C41-9C4F-F3534FE20F3C}' <object GrtObject> key=owner could not be resolved
22:43:17 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
22:43:17 [INF][ WBContext]: System info:
MySQL Workbench Community (GPL) for Windows version 8.0.34 CE build 3263449 (64 bit)
Configuration Directory: C:\Users\ferru\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0
Cairo Version: 1.17.6
OS: Microsoft Windows 10 Home Single Language
CPU: 4x Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz, 3.9 GiB RAM
Active video adapter Intel(R) UHD Graphics 620
Installed video RAM: 1024 MB
Current video mode: 1920 x 1080 x 4294967296 cores
Used bit depth: 32
Driver version: 25.20.100.6444
Installed display drivers: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igdumdim64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igd12umd64.dll
Current user language: Português (Brasil)
22:43:17 [INF][ Workbench]: UI is up
22:43:18 [INF][ Workbench]: Running the application
22:43:25 [INF][SQL Editor Form]: Opened connection 'Local instance MySQL80' to MySQL Community Server - GPL version 8.0.34
22:43:25 [INF][ WQE.net]: Launching SQL IDE
22:43:26 [INF][ WQE.net]: SQL IDE UI is ready
22:43:28 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: chcp.com: 'utf-8' codec can't decode byte 0xe1 in position 1: invalid continuation byte
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_server_management.py", line 404, in local_run_cmd_windows
retcode = OSUtils.exec_command(command, output_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0\workbench\os_utils.py", line 360, in exec_command
for line in iter(process.stdout.readline, ""):
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 1: invalid continuation byte
22:43:28 [WRN][wb_server_management.py:fetch_windows_shell_info:654]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: ""
22:43:28 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: ver: 'utf-8' codec can't decode byte 0xc6 in position 23: invalid continuation byte
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_server_management.py", line 404, in local_run_cmd_windows
retcode = OSUtils.exec_command(command, output_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0\workbench\os_utils.py", line 360, in exec_command
for line in iter(process.stdout.readline, ""):
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 23: invalid continuation byte
22:43:33 [ERR][ pymforms]: Unhandled exception in Python code:
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line 303, in _sidebar_entry_clicked
self.open_into_section(entry_id)
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line 329, in open_into_section
page = page_class(self.ctrl_be, self.server_profile, self.admin_tab)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_server_status.py", line 234, in __init__
self.status = wb_admin_monitor.WbAdminMonitor(server_profile, self.ctrl_be)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_monitor.py", line 251, in __init__
self.mon_be = wba_monitor_be.WBAdminMonitorBE(UPDATE_INTERVAL, server_profile, ctrl_be, self.widgets, self.cpu_widget, sql)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line 398, in __init__
self.wmimon = WMIStats(ctrl_be, server_profile, cpu_widget)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line 343, in __init__
raise Exception("Current profile has no WMI enabled") # TODO Should be better message
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Current profile has no WMI enabled
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: C:\Users\ferru\AppData\Roaming\MySQL\Workbench\log How to repeat: I'm not being abble to connect with the server due an error of "Target host is configured as Windows, but it seems to be a different OS." But I'm pretty sure that I'm using a Windows device. How to proceed ? 22:43:16 [ERR][ Workbench]: Console redirection failed. 22:43:16 [INF][ Workbench]: Starting up Workbench 22:43:16 [INF][ Workbench]: Current environment: Command line: "C:\Program Files\MySQL\MySQL Workbench 8.0\MySQLWorkbench.exe" CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 8.0 HasShutdownStarted: False OSVersion: Microsoft Windows NT 6.2.9200.0 SystemDirectory: C:\WINDOWS\system32 TickCount: 206453 UserInteractive: True Version: 4.0.30319.42000 WorkingSet: 37916672 22:43:16 [INF][ Workbench]: Environment variables: COMPUTERNAME = MVVC USERPROFILE = C:\Users\ferru HOMEPATH = \Users\ferru LOCALAPPDATA = C:\Users\ferru\AppData\Local PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PROCESSOR_ARCHITECTURE = AMD64 Path = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\ferru\AppData\Local\Microsoft\WindowsApps;;C:\Users\ferru\AppData\Local\Programs\Microsoft VS Code\bin CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files ProgramFiles(x86) = C:\Program Files (x86) PROCESSOR_LEVEL = 6 EFC_7868 = 1 LOGONSERVER = \\MVVC PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC HOMEDRIVE = C: SystemRoot = C:\WINDOWS SESSIONNAME = Console ALLUSERSPROFILE = C:\ProgramData DriverData = C:\Windows\System32\Drivers\DriverData APPDATA = C:\Users\ferru\AppData\Roaming PROCESSOR_REVISION = 8e0a USERNAME = ferru CommonProgramW6432 = C:\Program Files\Common Files OneDrive = C:\Users\ferru\OneDrive CommonProgramFiles = C:\Program Files\Common Files OS = Windows_NT USERDOMAIN_ROAMINGPROFILE = MVVC PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 142 Stepping 10, GenuineIntel ComSpec = C:\WINDOWS\system32\cmd.exe SystemDrive = C: TEMP = C:\Users\ferru\AppData\Local\Temp ProgramFiles = C:\Program Files NUMBER_OF_PROCESSORS = 4 TMP = C:\Users\ferru\AppData\Local\Temp ProgramData = C:\ProgramData ProgramW6432 = C:\Program Files windir = C:\WINDOWS USERDOMAIN = MVVC PUBLIC = C:\Users\Public 22:43:16 [INF][ Workbench]: Current version given by meta info is: 8.0.34 22:43:16 [INF][ Workbench]: Setting PATH to: C:\WINDOWS\system32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\ferru\AppData\Local\Microsoft\WindowsApps;;C:\Users\ferru\AppData\Local\Programs\Microsoft VS Code\bin 22:43:16 [INF][ mforms managed]: Initializing mforms wrapper 22:43:16 [INF][ WBContext UI]: Initializing workbench context UI with these values: base dir: C:\Program Files\MySQL\MySQL Workbench 8.0 plugin path: C:\Program Files\MySQL\MySQL Workbench 8.0 struct path: module path: C:\Program Files\MySQL\MySQL Workbench 8.0/modules library path: C:\Program Files\MySQL\MySQL Workbench 8.0 user data dir: C:\Users\ferru\AppData\Roaming\MySQL\Workbench open at start: open type: run at startup: run type: Force SW rendering: No Force OpenGL: No quit when done: No 22:43:16 [INF][ WBContext]: WbContext::init 22:43:17 [INF][ WBA]: Looking for extension modules for WBA... 22:43:17 [INF][ WBA]: 0 extension modules found 22:43:17 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils). 22:43:17 [WRN][ grt]: C:\Users\ferru\AppData\Roaming\MySQL\Workbench\server_instances.xml:27: link '{7E384D82-21AB-4C41-9C4F-F3534FE20F3C}' <object GrtObject> key=owner could not be resolved 22:43:17 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils). 22:43:17 [INF][ WBContext]: System info: MySQL Workbench Community (GPL) for Windows version 8.0.34 CE build 3263449 (64 bit) Configuration Directory: C:\Users\ferru\AppData\Roaming\MySQL\Workbench Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0 Cairo Version: 1.17.6 OS: Microsoft Windows 10 Home Single Language CPU: 4x Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz, 3.9 GiB RAM Active video adapter Intel(R) UHD Graphics 620 Installed video RAM: 1024 MB Current video mode: 1920 x 1080 x 4294967296 cores Used bit depth: 32 Driver version: 25.20.100.6444 Installed display drivers: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igdumdim64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_c32131c466e284a5\igd12umd64.dll Current user language: Português (Brasil) 22:43:17 [INF][ Workbench]: UI is up 22:43:18 [INF][ Workbench]: Running the application 22:43:25 [INF][SQL Editor Form]: Opened connection 'Local instance MySQL80' to MySQL Community Server - GPL version 8.0.34 22:43:25 [INF][ WQE.net]: Launching SQL IDE 22:43:26 [INF][ WQE.net]: SQL IDE UI is ready 22:43:28 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: chcp.com: 'utf-8' codec can't decode byte 0xe1 in position 1: invalid continuation byte Traceback (most recent call last): File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_server_management.py", line 404, in local_run_cmd_windows retcode = OSUtils.exec_command(command, output_handler) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\MySQL\MySQL Workbench 8.0\workbench\os_utils.py", line 360, in exec_command for line in iter(process.stdout.readline, ""): File "<frozen codecs>", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 1: invalid continuation byte 22:43:28 [WRN][wb_server_management.py:fetch_windows_shell_info:654]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: "" 22:43:28 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: ver: 'utf-8' codec can't decode byte 0xc6 in position 23: invalid continuation byte Traceback (most recent call last): File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_server_management.py", line 404, in local_run_cmd_windows retcode = OSUtils.exec_command(command, output_handler) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\MySQL\MySQL Workbench 8.0\workbench\os_utils.py", line 360, in exec_command for line in iter(process.stdout.readline, ""): File "<frozen codecs>", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 23: invalid continuation byte 22:43:33 [ERR][ pymforms]: Unhandled exception in Python code: Traceback (most recent call last): File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line 303, in _sidebar_entry_clicked self.open_into_section(entry_id) File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_grt.py", line 329, in open_into_section page = page_class(self.ctrl_be, self.server_profile, self.admin_tab) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_server_status.py", line 234, in __init__ self.status = wb_admin_monitor.WbAdminMonitor(server_profile, self.ctrl_be) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wb_admin_monitor.py", line 251, in __init__ self.mon_be = wba_monitor_be.WBAdminMonitorBE(UPDATE_INTERVAL, server_profile, ctrl_be, self.widgets, self.cpu_widget, sql) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line 398, in __init__ self.wmimon = WMIStats(ctrl_be, server_profile, cpu_widget) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\MySQL\MySQL Workbench 8.0\modules\wba_monitor_be.py", line 343, in __init__ raise Exception("Current profile has no WMI enabled") # TODO Should be better message ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Exception: Current profile has no WMI enabled