Bug #52598 Can't administrate instance
Submitted: 5 Apr 2010 16:43 Modified: 8 Apr 2010 15:10
Reporter: Yulian Starchenko Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.17 OS:Windows
Assigned to: CPU Architecture:Any

[5 Apr 2010 16:43] Yulian Starchenko
Description:
Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
<Server Administration> choose instance press <ok> and here you are!
[6 Apr 2010 4:35] Valeriy Kravchuk
What exact version of MySQL server, x.y.z, local or remote, are you working with?
[6 Apr 2010 8:25] Yulian Starchenko
5.1.35-community, locally.
[6 Apr 2010 10:46] MySQL Verification Team
Please try the latest released version 5.2.17. Thanks in advance.
[6 Apr 2010 13:41] Yulian Starchenko
I've changed workbench version to 5.2.17 this time get:

x32 on x32Traceback (most recent call last):

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 236, in openSecurityManager

    tab = do_open_administrator(server)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 126, in do_open_administrator

    adminTab = AdministratorTab(server_instance)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 87, in __init__

    self.ctrl_be = wb_admin_control_be.MyCtrl(server_instance_settings)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 662, in __init__

    if connect_sql and self.server_is_stopped_for_sure():

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 884, in server_is_stopped_for_sure

    return self.is_running()

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 899, in is_running

    result = self.exec_cmd(script, usesudo, password)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 969, in exec_cmd

    (script, filters) = build_filters(script)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 177, in build_filters

    idx = text.rfind('|')

AttributeError: 'NoneType' object has no attribute 'rfind'
[6 Apr 2010 14:03] Yulian Starchenko
Now server is up, but on Admin panel is:

The is no connection to the MySQL Server....
[8 Apr 2010 11:02] MySQL Verification Team
Bug http://bugs.mysql.com/bug.php?id=52681 marked as duplicate of this one.
[8 Apr 2010 15:10] MySQL Verification Team
Duplicate of bug: http://bugs.mysql.com/bug.php?id=52342.