[Answered ]-Error in Postgresql: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "TheGecko"

1👍

I also revieved same error and resolved by doing below changes:

DATABASES = { 'default': { 'ENGINE':
    'django.db.backends.postgresql', 'NAME': 'websitedb',
    'USER':'postgres', 'PASSWORD':'xx', 'HOST':'localhost',
    'PORT':'5432', } }

Leave a comment