Bug #95597 | mysql_config_editor can not deal password with "#" | ||
---|---|---|---|
Submitted: | 2 Jun 2019 9:37 | Modified: | 7 Oct 2020 16:18 |
Reporter: | li xichao | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.6 5.7, 5.7.26 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[2 Jun 2019 9:37]
li xichao
[2 Jun 2019 9:42]
li xichao
none
[3 Jun 2019 12:19]
MySQL Verification Team
Hello li xichao, Thank you for the report and feedback. Verified as described with 8.0.16 build. regards, Umesh
[17 Jul 2020 22:27]
Stephen Buergler
The problem is that the .mylogin.cnf file interprets the # as the beginning of a comment. A workaround is to quote your password when passing it to mysql_config_editor. Type your password as: "Cp#123" instead of: Cp#123 Note: if this issue ever gets fixed this workaround will break!
[7 Oct 2020 16:18]
Paul DuBois
Posted by developer: Fixed in 5.7.33, 8.0.23. mysql_config_editor incorrectly treated # in password values as a comment character.