Details
Description
When I have a # character in my password, and try to use a .cnf file for auto login, the parser seems to strip all characters after the hash in the cnf file.
I believe it's some kind of "comment stripper" in the code that's the culprit.
Since the # char is perfectly valid for passwords everywhere else (working in php, entered on command line, etc), the mysql client should at least yield a warning when finding a comment char in a password in some cnf file.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Forgot to add example of my cnf file.
Working:
[client]
host=mysql.example.com
password=abc123
Not working:
[client]
host=mysql.example.com
password=abc#123