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.
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.