Bug #44526 Upgrade Service Manager installer overwrites config.properties
Submitted: 28 Apr 2009 16:50 Modified: 25 Jun 2009 15:12
Reporter: Diego Medina Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:2.1.0.1032 OS:Any
Assigned to: MC Brown CPU Architecture:Any

[28 Apr 2009 16:50] Diego Medina
Description:
If you make changes to the config.properties file, the upgrade installer will overwrite them.

How to repeat:
1- Install the service manager
2- edit the config.properties file and add 

softInstanceAttributeCache=false

3- Run the upgrade installer
4- See the 
softInstanceAttributeCache=false

line missing
[30 Apr 2009 10:21] BitRock Merlin
This issue is related to #44003. The current upgrade installer gets the database information from the previous config.properties (only the mysql user, password, port and key) and writes the same information in the new one. As the current MEM installer only supports its own MySQL database it seems that the upgrade should not support a different value for "mysql.host" parameter. The "datadir" parameter is not configured by default in this file. Could you specify the desired upgrade approach to resolve this issue? Please specify the target version, thanks.
[30 Apr 2009 18:27] Gary Whizin
There are many reasons for customers to modify this file, including:
- using a remote mysql server
- directed by Support to modify or add a value
[1 May 2009 21:26] Andy Bang
To clarify one thing: the parameter is mysql.server, not mysql.host.
[1 May 2009 21:32] Andy Bang
I don't see that the upgrade installer asks the user for anything that goes into config.properties -- it only asks about the Tomcat ports and those go in server.xml, not config.properties.

So isn't the fix for this quite easy -- just use (or copy over) the old config.properties file (the one that's already there)?
[14 May 2009 14:06] BitRock Merlin
Patch sent to Keith.
[18 May 2009 19:25] Keith Russell
Patch installed in versions => 2.1.0.1043.
[21 May 2009 15:45] Diego Medina
Verified fixed on 2.1.0.1047
[25 Jun 2009 15:12] Tony Bedford
An entry was added to the 2.1.0 changelog:

Any changes made to the config.properties file, were overwritten by the upgrade installer.