Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'root': 0.04; 'subject:password': 0.05; "'default':": 0.07; 'postgresql': 0.07; "'name':": 0.09; 'command.': 0.09; 'postgres': 0.09; 'sqlite': 0.09; 'subject:skip:a 10': 0.09; 'python': 0.10; 'django': 0.13; "'engine':": 0.16; "'host':": 0.16; 'manage.py': 0.16; 'received:206.46': 0.16; 'received:206.46.173': 0.16; 'settings.py': 0.16; 'subject:failed': 0.16; 'url:djangoproject': 0.16; 'url:settings': 0.16; 'to:name:python-list@python.org': 0.20; 'advise.': 0.22; "skip:' 40": 0.22; 'file.': 0.22; 'header :User-Agent:1': 0.26; 'linux': 0.26; 'privileges': 0.29; 'environment': 0.29; "i'm": 0.30; 'supposed': 0.31; 'certain': 0.31; 'another': 0.32; 'point': 0.33; 'file': 0.34; 'set.': 0.35; 'should': 0.36; 'project': 0.36; 'to:addr:python-list': 0.36; 'really': 0.37; 'seem': 0.37; 'things': 0.38; 'virtual': 0.38; 'url:en': 0.39; 'does': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'header :MIME-version:1': 0.60; 'received:206': 0.63; 'account': 0.66; 'expert': 0.70; '9.4.3': 0.84; 'received:192.168.1.7': 0.91 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J+9Xl1TS c=1 sm=1 tr=0 a=AstGAA2XJoPAehtj9MTdvA==:117 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=zKzDOiuOpD0A:10 a=-9mUelKeXuEA:10 a=IkcTkHD0fZMA:10 a=zOBTXjUuO1YA:10 a=ArP49Si0AAAA:8 a=5Ml9eGHBrnubB-p5sEIA:9 a=QEXdDO2ut3YA:10 Date: Wed, 15 Jul 2015 10:13:15 -0700 From: Gary Roach User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: "python-list@python.org" Subject: password authentication failed Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436984039 news.xs4all.nl 2843 [2001:888:2000:d::a6]:43304 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93877 Every time I try to do a python manage.py migrate I get: django.db.utils.OperationalError: FATAL: password authentication failed for user "postgres" FATAL: password authentication failed for user "postgres" System Debian linux jessie python 2.79 Django 1.8 Postgresql 9.4.3 database Using virtualenv and virtualenvwrapper Postgres has root privileges in the Debian passwd file. Project settings.py file database setup # Database # https://docs.djangoproject.com/en/1.8/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'archivedb', 'USER': 'postgres', 'PASSWORD': 'xxxxxx', # A valid debian pw 'HOST': '127.0.0.1', 'PORT': '5432' } } I'm not certain how this should be corrected. Postgres ( using \d commands) does not seem to have any privileges set. Am I supposed to go outside the virtual environment to set up a postgres account in postgres or is Django supposed to do this with the migrate command. I feel like I am at a critical point where I can really screw things up and need some expert advise. This is my first time working with python / Django and am really shaky. I do have another learning project (rango) using SQLite that works fine. Gary R