Bug #42198 Upgrade installer fails if no default ini
Submitted: 19 Jan 2009 12:48 Modified: 21 Jan 2010 14:38
Reporter: Andrii Nikitin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Documentation Severity:S4 (Feature request)
Version:2.0, 2.1 OS:Any
Assigned to: MC Brown CPU Architecture:Any
Tags: mem_discuss_me

[19 Jan 2009 12:48] Andrii Nikitin
Description:
If user renames mysql-monitor-agent.ini upgrade installer will fail.

How to repeat:
1. Install agent
2. rename mysql-monitor-agent.ini to mysql-monitor-agent-3306.ini
3. Run upgrade installer

4. Snapshot of installer dialog:

Please specify the directory that contains the previous installation of the MySQL Enterprise Monitor Agent

Installation directory [/home/mysql/mysql/enterprise/agent]: /var/lib/mysql/agent

Warning: The directory /home/mysql/mysql/enterprise/agent does not contain a a
previous installation. Please select the right installation directory.
Press [Enter] to continue :
----------------------------------------------------------------------------
Please specify the directory that contains the previous installation of the MySQL Enterprise Monitor Agent

Suggested fix:
Describe the reasons and workaround in manual and in installer 'Error Message'

Workaround:
Restore temporary mysql-monitor-agent.ini in default location
[21 Jan 2010 14:38] MC Brown
A note has been added to the upgrade install notes.