← Back to team overview

enterprise-support team mailing list archive

[Bug 1640728] [NEW] saved password in config files are NOT honored

 

Public bug reported:

Hello

Recently I have updated mydumper to latest version from master branch https://github.com/maxbube/mydumper
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=/tmp/test

** (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://github.com/maxbube/mydumper/archive/a59526b12f2cdbc29575883848d3670f42af4c7c.zip).
All versions after this commit are affected.

Latest non affected version is:
https://github.com/maxbube/mydumper/archive/ca44245c33b714e939dd80f71f20170137011a95.zip

Regards,
Georgi

** Affects: mydumper
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1640728

Title:
  saved password in config files are NOT honored

To manage notifications about this bug go to:
https://bugs.launchpad.net/mydumper/+bug/1640728/+subscriptions