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 authentication failed #397

Open
mcroni opened this issue Sep 17, 2021 · 9 comments
Open

Password authentication failed #397

mcroni opened this issue Sep 17, 2021 · 9 comments

Comments

@mcroni
Copy link

mcroni commented Sep 17, 2021

Bug Report

Describe the bug

Running this code with AWS S3 as my storage medium. The password to this username is correct but i get this error

To Reproduce

python manage.py dbbackup

Expected behavior

dbbackup.db.exceptions.CommandConnectorError: Error running:  pg_dump  --host=localhost --port=5432 --username=myprojectuser --no-password --clean coincard 
pg_dump: error: connection to database "coincard" failed: FATAL:  password authentication failed for user "myprojectuser"
FATAL:  password authentication failed for user "myprojectuser"

Versions

Django-dbbackup

  • pypi: [e.g. 3.3.0]

External tools

  • Python: 3.6.9
  • Django : 3.0.3
  • OS : Ubuntu 20
@rbannon-tc
Copy link

I get the same thing with PostgreSQL.

@rbannon-tc
Copy link

Pretty sure author of this app has abandoned it.

@rugys
Copy link

rugys commented Oct 19, 2021

do you have any special characters in your DB password? Looking at prev issues, special characters are causing the break. No update on a fix though.

@rbannon-tc
Copy link

@rugys @ and !
So, yeah

@mcroni
Copy link
Author

mcroni commented Oct 19, 2021

@rugys yeah i have special chars like @

@quaintjames
Copy link

Can confirm that * also seems to be a breaking character. I'll be sticking to alphanumeric from now on.

@gilsonluiz
Copy link

There was an update of the problem?

@adi-
Copy link
Contributor

adi- commented Mar 23, 2022

Also problems with { sign

@adi-
Copy link
Contributor

adi- commented Mar 23, 2022

Passwords should be escaped

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

6 participants