Bug #53965 MEM agent handling of non-existing option file is wrong
Submitted: 25 May 2010 8:57 Modified: 9 Jan 2015 14:43
Reporter: Daniël van Eeden Email Updates:
Status: Won't fix Impact on me:
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[25 May 2010 8:57] Daniël van Eeden
# /var/tmp/mysqlmonitoragent- --optionfile /var/tmp/mysqlagent-optionfile.txt
There has been an error.
Invalid value "/var/tmp/mysqlagent-optionfile.txt" for --optionfile. Allowed values are: 
Use --help to get a list of valid options

The optionfile does not exist. It should report "Optionfile /var/tmp/mysqlagent-optionfile.txt does not exist" Or "Error 2 when opening optionfile".

How to repeat:
use the --optionfile option with a nonexistend optionfile

Suggested fix:
Better error description.