Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password on the command line interface can be insecure #1

Open
mmenozzi opened this issue Jul 22, 2014 · 14 comments
Open

Password on the command line interface can be insecure #1

mmenozzi opened this issue Jul 22, 2014 · 14 comments

Comments

@mmenozzi
Copy link

With MySQL 5.6 every run of automysqlbackup will generate the following warning (and potentially an error email):

Warning: Using a password on the command line interface can be insecure.

This is because automysqlbackup uses username and password directly on the mysql command for the connection.

Here the problem has been solved:
http://www.redeo.nl/2013/11/automysqlbackup-warning-using-password-command-line-interface-can-insecure/

But I don't know if this is the cleanest solution.

@FernandoNunes
Copy link

Also applied the linked fix, can you address this issue on next release ?

@Powertrain
Copy link

Applied the linked fix on a large professional scale. Would greatly appreciate incorporation into next release.

@alasdaircr
Copy link

Or perhaps take the advice and not show passwords on the command line.

@ghost
Copy link

ghost commented Jul 2, 2015

hi, fixed in https://github.com/ppadial/autoMySQLBackup master, cause it seems to be outdated

@kronos-pbrideau
Copy link

I'm a bit late to the party, but for reference, it looks to me this is a better way to deal with this problem no? :
msilvoso@3f4a557

@jeffmcneill
Copy link

@kronos-pbrideau That looks like a better way. See also http://stackoverflow.com/a/22933056/552983

@ghost
Copy link

ghost commented Jun 28, 2017

I can't believe this still isn't fixed. Just upgraded to ubuntu server 16.04 and started getting daily emails full of warnings. The solution at redeo.nl does not work for me. Running v3.0-rc6 currently.

@BlackBeltPanda
Copy link

Also having this issue on Ubuntu 17.04 with automysqlbackup 2.5 and MySQL 5.7.

@FernandoNunes
Copy link

For me the issue is fixed on Ubuntu 16.04.2 LTS
Package: automysqlbackup
Version: 2.6+debian.4-1

@noqqe
Copy link

noqqe commented Apr 10, 2018

Not sure why nobody is pointing this out here, but the only real solution to this problem is adding an option to use a defaults-file/my.cnf for auth rather than --password.

Obscure wrappers and greps also do not solve the problem that mysqldump is extting with 1 instead of 0.

@Harery
Copy link

Harery commented Sep 11, 2019

please help
how to solve below error

WARNING

Errors reported during AutoMySQLBackup execution.. Backup failed
Error log below..
mysql: [Warning] Using a password on the command line interface can be insecure.

@fakhamatia
Copy link

I have the same problem

@alvxyz111
Copy link

Hello anyone resolves this issue?

@EasyG0ing1
Copy link

@rcruz And here we are - 2023 ... any hope for solving this problem? I use MySQL v 8 ... would love to get this program up and working on all cylinders.

Thank you,

Mike Sims

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests