Reputation: 2654
I am new to django.I am using eclipse IDE and my OS is windows 7.I am trying to use postgre sql.My model page is like this:.My settings page is like this:
.When I try to type
python manage.py sql Mystudent
where Mystudent is my app,It shows operational error:fe_sendauth: no password supplied
.So when I entered user name as test
and password as password
it shows operational error:password authentication failed for user 'test'
.Please help me.
Upvotes: 0
Views: 307
Reputation: 12110
You should specify host and port in your settings.py
file. If you are running postgresql locally it will be:
'HOST': 'localhost',
'PORT': '5432',
Edit
Also note that mydb.db
is not a valid database name for postgres.
Upvotes: 1