saved password in config files are NOT honored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Data Dumper |
In Progress
|
Critical
|
Max Bubenick |
Bug Description
Hello
Recently I have updated mydumper to latest version from master branch https:/
And I noted that mydumper has stopped to read saved password in config files.
How to repeat:
# Safe password in .mylogin.cnf
$ mysql_config_editor set --password
# Test that password is working
$ mysql --host=127.0.0.1 mysql -NBe"select 1"
1
# Try to make mydumper backup
$ mydumper --host=127.0.0.1 --database=mysql --no-data --outputdir=
** (mydumper:25094): CRITICAL **: Error connecting to database: Access denied for user 'root'@'127.0.0.1' (using password: NO)
I have tested with centos 7.2 x64, mysql community 5.6.34.
Additional findings:
I have found out that this bug is introduced in "Commits on Oct 10, 2016 / correct 'this ‘if’ clause does not guard' error when using make" (https:/
All versions after this commit are affected.
Latest non affected version is: https:/
Regards,
Georgi
Changed in mydumper: | |
assignee: | nobody → Max Bubenick (max-bubenick) |
Changed in mydumper: | |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in mydumper: | |
milestone: | none → 0.9.3 |
Hi Georgi,
I've confirmed this bug and It must be fixed on this PR https:/ /github. com/maxbube/ mydumper/ pull/21 I will merge it after a few more tests.