Bug #58400 Start/stop server displays error message

Submitted: 22 Nov 2010 19:40 Modified: 13 Dec 2010 16:23
Reporter: Herbert Schneider Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.30 OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any
Tags: server, start, stop

[22 Nov 2010 19:40] Herbert Schneider
Description:
I open an established server instance with the MySQL workbench. Server status is running. Now I press the button "Stop Server". The following error message is displayed: "Could not stop server: expected a character buffer object". After confirming the message box, the server is stopped. The same error message is displayed when I start the server. The history can be seen by the following startup message log:
2010-11-22 20:16:59 - Server is running
2010-11-22 20:17:03 - Stopping server...
2010-11-22 20:17:03 - sc stop mysql51 0
2010-11-22 20:17:03 - Could not stop server: expected a character buffer object
2010-11-22 20:17:11 - Server is stopped
2010-11-22 20:17:27 - Checked server status: Server is stopped.
2010-11-22 20:17:27 - Starting server...
2010-11-22 20:17:27 - sc start mysql51 0
2010-11-22 20:17:27 - Checked server status: Server is running.
2010-11-22 20:17:27 - Could not start server: expected a character buffer object
2010-11-22 20:17:33 - Server is running

The windows service name ist "mysql51". My windows configuration is as the following:
Traceback (most recent call last):

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_control.py", line 471, in worker_thread

    action(password)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_control.py", line 552, in stop

    output_handler=lambda s:self.info("Stop server: %s"%(s or "").replace(password, "")))

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_management.py", line 1080, in execute_command

    return self.shell.exec_cmd(command, as_admin, admin_password, output_handler)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_management.py", line 373, in exec_cmd

    return local_run_cmd_windows(command, as_admin, admin_password, None, output_handler)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_management.py", line 231, in local_run_cmd_windows

    output_handler(out_str)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_control.py", line 552, in <lambda>

    output_handler=lambda s:self.info("Stop server: %s"%(s or "").replace(password, "")))

TypeError: expected a character buffer object

Traceback (most recent call last):

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_control.py", line 471, in worker_thread

    action(password)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_control.py", line 533, in start

    output_handler=lambda s:self.info("Start server: %s"%(s or "").replace(password, "")))

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_management.py", line 1080, in execute_command

    return self.shell.exec_cmd(command, as_admin, admin_password, output_handler)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_management.py", line 373, in exec_cmd

    return local_run_cmd_windows(command, as_admin, admin_password, None, output_handler)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_management.py", line 231, in local_run_cmd_windows

    output_handler(out_str)

  File "C:\Programme\MySQL\MySQL Workbench 5.2 CE\modules\wb_server_control.py", line 533, in <lambda>

    output_handler=lambda s:self.info("Start server: %s"%(s or "").replace(password, "")))

TypeError: expected a character buffer object

Option verbose  skipped because of missing value

Option standalone  skipped because of missing value

Option one-thread  skipped because of missing value

Option des-key-file  skipped because of missing value

Option innodb_rollback_on_timeout  skipped because of missing value

Option innodb  skipped because of missing value

Option slave-skip-errors  skipped because of missing value

Option large-pages  skipped because of missing value

Option bootstrap  skipped because of missing value

MySQL Workbench CE for Windows version 5.2.30

Data Directory: C:\Programme\MySQL\MySQL Workbench 5.2 CE

Cairo Version: 1.8.8

Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.

OpenGL Driver Version: 2.0.6067 WinXP Release

OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)

CPU: 2x Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz, 3.0 GiB RAM

Video adapter info:

Adapter type: RADEON X300 Series

Chip Type: RADEON X300/X550 Series (0x5B60)

BIOS String: BK-ATI VER008.015.158.000

Video Memory: 524288 KB

Current user language: Deutsch (Deutschland)

How to repeat:
Create an instance with MySQL workbench and stop/start the server.
[22 Nov 2010 19:54] Peter Laursen
There must be 10 reports about this now!

Peter
(not a MySQL person)
[22 Nov 2010 22:00] MySQL Verification Team
Thank you for the bug report.
[7 Dec 2010 20:03] Johannes Taxacher
fix confirmed in repository
[8 Dec 2010 4:48] Ulrich Riedel
I have exactly the same problem.
According to the error message, it seems to be an error in a python script.
BTW: Using the old MySQL administrator works.
[13 Dec 2010 16:23] Tony Bedford
An entry has been added to the 5.2.31 changelog:

In the Administrator, when the monitored server was started or stopped, the following error message was generated:

Could not stop/start server: expected a character buffer object

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.043 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.