Description:
I'm running WB on a WinXP machine, and have MySQL Server 5.1 running on Windows 2003 (32bit). I have the Cygwin based OpenSSH server on Windows 2003, and am using the "SSH login based administration" option. SSH is working between the two.
When I attempt to administer the server, WB reports "Checked server status: Server is stopped."
The status bar reports no problems.
This is not the name of the MySQL Windows service, sc start/stop/query mysql all work just fine when logged in manually over ssh.
If you examine the "output" in the status bar, it contains the following:
Unable to determine codepage from remote shell: x64 on x64Unable to fetch ProgramFiles value in remote Windows machine: Unable to fetch ProgramFiles(x86) value in remote Windows machine: Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_configuration.py", line 204, in tab_changed
panel.page_activated()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 68, in page_activated
self.create_ui()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 218, in create_ui
self.load_options_from_cfg()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 617, in load_options_from_cfg
self.cfg_be.parse_file(self.file_name_ctrl.get_string_value())
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_be.py", line 271, in parse_file
self.file_name = self.read_mysql_cfg_file(file_name)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_be.py", line 188, in read_mysql_cfg_file
local_file_name = self.ctrl_be.fetch_file(file_name)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 753, in fetch_file
self.ssh.get("'" + fname + "'", name)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 410, in get
ret = self.ssh.get(source, dest)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_ssh.py", line 218, in get
sftp = self.client.open_sftp()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\client.py", line 389, in open_sftp
return self._transport.open_sftp_client()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\transport.py", line 827, in open_sftp_client
return SFTPClient.from_transport(self)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\sftp_client.py", line 106, in from_transport
return cls(chan)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\sftp_client.py", line 89, in __init__
raise SSHException('EOF during negotiation')
paramiko.SSHException: EOF during negotiation
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_configuration.py", line 204, in tab_changed
panel.page_activated()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 68, in page_activated
self.create_ui()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 218, in create_ui
self.load_options_from_cfg()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_ui.py", line 617, in load_options_from_cfg
self.cfg_be.parse_file(self.file_name_ctrl.get_string_value())
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_be.py", line 271, in parse_file
self.file_name = self.read_mysql_cfg_file(file_name)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_config_file_be.py", line 188, in read_mysql_cfg_file
local_file_name = self.ctrl_be.fetch_file(file_name)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 753, in fetch_file
self.ssh.get("'" + fname + "'", name)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 410, in get
ret = self.ssh.get(source, dest)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_ssh.py", line 218, in get
sftp = self.client.open_sftp()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\client.py", line 389, in open_sftp
return self._transport.open_sftp_client()
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\transport.py", line 827, in open_sftp_client
return SFTPClient.from_transport(self)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\sftp_client.py", line 106, in from_transport
return cls(chan)
File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/python/site-packages\paramiko\sftp_client.py", line 89, in __init__
raise SSHException('EOF during negotiation')
paramiko.SSHException: EOF during negotiation
Unable to determine codepage from remote shell: x64 on x64Unable to fetch ProgramFiles value in remote Windows machine: Unable to fetch ProgramFiles(x86) value in remote Windows machine: Unable to determine codepage from remote shell: x64 on x64Unable to fetch ProgramFiles value in remote Windows machine: Unable to fetch ProgramFiles(x86) value in remote Windows machine:
How to repeat:
1. Create a Server Administration to a Windows 2003 server running MySQL and Cygwin OpenSSH server.
2. Attempt to connect to it.
Suggested fix:
a) At the very least, if WB is unable to determine the server status, it should report "unknown" rather than "stopped"
b) WB should be able to determine the status in this configuration.