Bug #70496 please trim leading/trailing spaces when collecting input in the agent installer
Submitted: 3 Oct 2013 6:07 Modified: 4 Oct 2013 9:20
Reporter: Simon Mudd (OCA) Email Updates:
Status: Verified Impact on me:
Category:MySQL Enterprise Monitor: Installing Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: windmill

[3 Oct 2013 6:07] Simon Mudd
During a new install I did:
Monitored Database Information

IMPORTANT: The Admin user account specified below requires special MySQL 

Visit the following URL for more information:

MySQL Socket []:  /path/to/mysql.sock     # notice the leading space, added inadvertently

Admin User []: admin_user

Admin Password :
Re-enter Password :
Monitor Group []: monitor_group

Warning: The specified path  /path/to/mysql.sock is not a socket.

How to repeat:
See above.
It's easy to add a leading or trailing space and not notice and IMO it would be clearer if these are removed.
Even under windows it's confusing have a filename starting or ending with a space and this is usually a matter of miscopying the information from another source.

As the Warning message is not quoted the extra space is not very obvious. (it was a typo)
So please remove this and this issue will be cleared up.

It also seems useful to give feedback directly and not wait for all 5 entries (in this case) to be entered, and give the message earlier. I noticed this previously when making a mistake with the input.

Suggested fix:
So please remove leading and trailing white space characters from input.
[4 Oct 2013 9:20] MySQL Verification Team
Hello Simon,

Thank you for the feature request!