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 (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:2.2.0.1705 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[25 May 2010 8:57] Daniël van Eeden
Description:
===============================
# /var/tmp/mysqlmonitoragent-2.2.0.1705-linux-glibc2.3-x86-64bit-installer.bin --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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.047 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.