Bug #63857 | unable to open an administrator tab, when remote management via ssh is set | ||
---|---|---|---|
Submitted: | 27 Dec 2011 2:36 | Modified: | 30 Mar 2012 1:09 |
Reporter: | Lutz Mndle | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Administration | Severity: | S2 (Serious) |
Version: | 5.2.36, 5.2.37 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution, open administrator tab |
[27 Dec 2011 2:36]
Lutz Mndle
[28 Dec 2011 17:32]
Valeriy Kravchuk
I do not see this problem with 5.2.37 on Mac OS X.
[28 Dec 2011 20:09]
Lutz Mndle
patch for ./plugins/wb.admin/backend/wb_admin_control.py
Attachment: wb_admin_control.py.diff (text/x-patch), 4.01 KiB.
[28 Dec 2011 20:14]
Lutz Mndle
The problem remains the same in 5.2.37 and the solution is the same. I've attached my proposed patch as a separate file for eventually better handling.
[31 Jan 2012 17:42]
David Drake
I also ran into this problem on 5.2.37, using Mac OSX v10.7.2. The patch worked, although the location of the file on my system is different than shown in the patch: /Applications/MySQLWorkbench.app/Contents/PlugIns/wb_admin_control.py
[31 Jan 2012 17:43]
David Drake
Note that I ran into this problem with a local mysql instance, and I only ran into this problem if the instance was running when I tried to open the instance.
[9 Feb 2012 11:23]
Robert Hook
This may also be related to the presence or absence of the /etc/my.cnf file. I found that on a fresh install of MySql, that file did not exist, and the workbench seemed quite upset about it. I shut down the instance, and attempted to access the administrator tab in workbench again, and that succeeded. It then complained about the state of /etc/my.cnf and indicated it could not read or write the file. When I looked, the file had been created at this point, but the permissions were not good - it was only read/write for root. I modified the file to be world readable, and the problems with administrator seemed to go away. Please note that this was with a fresh install, and only accessing a local instance.
[30 Mar 2012 1:09]
Philip Olson
Fixed as of 5.2.38, and here's the changelog entry: Opening a "Server Administration" tab for a server instance that has remote management via SSH enabled would result in an error, and fail to load.