Bug #67480 mysqldiff don't accept minus sign in user or password
Submitted: 6 Nov 2012 9:45 Modified: 30 Apr 2013 9:22
Reporter: Marcin Szalowicz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Utilities Severity:S1 (Critical)
Version:5.2.44 OS:Linux (ubuntu 12.04/amb64)
Assigned to: CPU Architecture:Any
Tags: mysqldiff, password, user

[6 Nov 2012 9:45] Marcin Szalowicz
Description:
mysqldiff doesn't allow to use minus "-" sign in password or username.
I'm providing a patch to fix this problem, but there are probably more signs

How to repeat:
mysqldiff --server1=user-u1:pass-p1@host

Suggested fix:
allow mysqldiff to use minus "-" sign
please see atached file for patch
[6 Nov 2012 9:46] Marcin Szalowicz
Patch for mysqldif for password and user problem

Attachment: mysqldiff.diff (application/octet-stream, text), 232 bytes.

[6 Nov 2012 11:33] MySQL Verification Team
Thank you for the bug report.
[29 Apr 2013 10:02] Paulo Jesus
Thank you for the bug report.

This issue has been fixed in release 1.2.2.
[30 Apr 2013 6:14] Philip Olson
Fixed as of the upcoming MySQL Utilities 1.2.2 release, and here's the changelog entry:

Connection strings would not accept usernames or passwords that contained
a hyphen ("-"). Using single or double quotes is now supported. For
example, passing in --server="user:'pass@:-chars'@localhost" as a connection string to a MySQL Utility is now valid.

Thank you for the bug report.
[30 Apr 2013 9:22] Marcin Szalowicz
that's great thank You :)