HELP HELP FATAL: password authentication failed for user "postgres"

417 views
Skip to first unread message

EMPOWER EXCEL

unread,
Nov 29, 2019, 7:42:00 AM11/29/19
to Django users
cqn some body helps me to correct this error while running python manager.py runeserver 
(analyseprotection) flavien@flavien-VirtualBox:~/MyProjects/alertprot$ python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
Unhandled exception in thread started by <function wrapper at 0xadc8d72c>
Traceback (most recent call last):
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
    fn(*args, **kwargs)
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 127, in inner_run
    self.check_migrations()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/core/management/base.py", line 422, in check_migrations
    executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 20, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 52, in __init__
    self.build_graph()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 210, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 65, in applied_migrations
    self.ensure_schema()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 52, in ensure_schema
    if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor
    return self._cursor()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor
    self.ensure_connection()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
    self.connect()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
    self.connect()
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/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"

Integr@te System

unread,
Nov 29, 2019, 8:34:40 AM11/29/19
to django...@googlegroups.com
Hi freind,

check your connection on vm first, and then config https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-HOST

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eb5beb47-013e-4e07-a077-31a732635325%40googlegroups.com.

EMPOWER EXCEL

unread,
Nov 29, 2019, 9:02:55 AM11/29/19
to django...@googlegroups.com
thanks

On 11/29/19, Integr@te System <datacen...@gmail.com> wrote:
> Hi freind,
>
> check your connection on vm first, and then config
> https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-HOST
>
> On Fri, Nov 29, 2019, 19:41 EMPOWER EXCEL <flavie...@gmail.com> wrote:
>
>> cqn some body helps me to correct this error while running *python
>> manager.py runeserver *
>> <https://groups.google.com/d/msgid/django-users/eb5beb47-013e-4e07-a077-31a732635325%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAP5HUWoH9Hx6BdN-MY_mwadT31jDKBoO46H2%3DqAo4KuFShRN1w%40mail.gmail.com.
>


--
FLAVIEN HERI

*Information management AscociateUNHCR-Kinshasa*
Tél:+243978587009
Skype: flavien.heri1
Facebook: flavien semi

John McClain

unread,
Nov 29, 2019, 11:20:24 AM11/29/19
to django...@googlegroups.com
try resetting the PW

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.


--
John McClain

Cell: 085-1977-823
Skype: jmcclain0129

Jonathan Duclos

unread,
Nov 29, 2019, 4:52:11 PM11/29/19
to Django users
I've the same problem, but I was inputing a wrong string in field password, do you checked if as wrong?  

Integr@te System

unread,
Nov 30, 2019, 2:55:16 AM11/30/19
to django...@googlegroups.com
Hi freind, 

the last time u recieved an email to check config with content of many fields and connection.

If u see wrong password field, check in app and db setting.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages