Bug #57026 Changes in Manager Server Instance not saved on Mac OS X
Submitted: 26 Sep 2010 12:46 Modified: 12 Oct 2010 14:06
Reporter: heapifyman heapifyman Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.28 OS:MacOS (10.5.8)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: workbench manage server instance custom sudo command installation type

[26 Sep 2010 12:46] heapifyman heapifyman
Description:
When creating a MySQL server instance in the Workbench I can only select "Mac OS X (MySQL package)" and not "custom". When editing the server instance after creation, I can select "custom" from the Installation Type drop down, but changes are not saved.

The default sudo command "/usr/bin/sudo -p EnterPasswordHere /bin/sh -c" does not work and trying to start the server from the workbench crashes workbench.
Changes to the sudo command are also not saved.

How to repeat:
1. create a server instance (I used a mysql version 5.1.37) in workbench, accepting all the defaults.
2. edit the workbench server settings via the "Manage Server Instance" dialog, specifically sudo command or installation type
3. close and reopen the "Manage Server Instance" dialog
4. changes made in 2 are not saved, instead the default settings are shown.
[27 Sep 2010 18:04] Valeriy Kravchuk
Indeed, changes are possible but not saved, exactly as you described.
[29 Sep 2010 15:02] Alfredo Kojima
What command are you using for sudo?
[29 Sep 2010 15:15] heapifyman heapifyman
"What command are you using for sudo?"

If that question was for me I don't understand it.
In the Manage Server Instance I have a dropdown box with two predefined sudo commands and one empty line (in which I can specify a custom command, I assume).
If I select the non-default predefined one or change any of the predefined ones or enter a custom command, my changes are not saved. If I close the dialog and open it again, the sudo command is set back to the default (/usr/bin/su...).
[7 Oct 2010 17:19] Johannes Taxacher
fix confirmed in repository
[12 Oct 2010 14:06] Tony Bedford
An entry has been added to the 5.2.29 changelog:

Changes made to a server instance were not saved. In particular changing installation type to “Custom” was not saved, and changes to the sudo command were also not saved.