reset password
Author Message
fumjum
Posts: 27
Posted 19:46 Nov 29, 2017 |

I am trying to migrate the manage.py file on DigitalOcean and keep getting this error: FATAL: Ident authentication failed for user "test". Is there a trick to setting up the default db in the settings.py file? I know the password is correct, so I am stumped. I even tried this test account I made in postgresql. Thanks for any help.

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

Last edited by fumjum at 19:48 Nov 29, 2017.
jhurley
Posts: 207
Posted 19:53 Nov 29, 2017 |

The lecture notes contain the url for instructions on configuring Postgre in Fedora.  Ident is one of several authentication methods.  Try changing it to md5.

jcalilu
Posts: 20
Posted 22:27 Nov 29, 2017 |

Changing the method to md5 worked for me. File that I configured was called pg_hba.conf (PostgreSQL Client Configuration file)