My first django app error: FATAL: password authentication failed for user "postgres"

267 views
Skip to first unread message

Eduardo Hidalgo García

unread,
Oct 21, 2019, 8:48:47 AM10/21/19
to django...@googlegroups.com
Hi Guys,

Is my first time working with django, I am following youtubes' tutorial from telusko. However I am having troubles, my computer has the following OS: Ubuntu 18.04.3 LTS.

I am running docker images for the postgres and pgAdmin tools, I set up my password in the docker-compose.yml file and is the one I imputed on the setting.py. However every time I try to run it I receive the following error message:

File "/home/eduardo/Envs/test/lib/python3.6/site-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: FATAL:  password authentication failed for user "postgres"
FATAL:  password authentication failed for user "postgres"

I have psycop2 in my test environment for python 3, do you might know why is this happening? and how can I fix this problem?

Thanks!
Eduardo

Pratibha Gupta

unread,
May 4, 2020, 8:35:55 PM5/4/20
to Django users
Hi Eduardo,

I am exactly in same situation. Configuring django first time from my Ubuntu 18.04.3 LTS. Facing the same issue. Did you get solution for it?

Thanks,
Pratibha
Reply all
Reply to author
Forward
0 new messages