You may need to specify the database host in your Django settings.
On Mon, Mar 10, 2014 at 10:43 AM, Thomas Johnson <t...@merakicoin.com> wrote: > I had a completely vanilla debian 6 vps when I started out this afternoon. > It is failing at the createdb command with the following error: > > ...... > [127.0.0.1] out: return Database.connect(**conn_params) > [127.0.0.1] out: File > "/home/tomfoolery/protraderwiki/lib/python2.6/site-packages/psycopg2/__init__.py", > line 164, in connect > [127.0.0.1] out: conn = _connect(dsn, > connection_factory=connection_factory, async=async) > [127.0.0.1] out: django.db.utils.OperationalError: FATAL: password > authentication failed for user "protraderwiki" > [127.0.0.1] out: FATAL: password authentication failed for user > "protraderwiki" > [127.0.0.1] out: > [127.0.0.1] out: > > Fatal error: run() received nonzero return code 1 while executing! > > Requested: /home/tomfoolery/protraderwiki/bin/python > /home/tomfoolery/protraderwiki/project/manage.py createdb --noinput --nodata > Executed: /bin/bash -l -c "cd /home/tomfoolery/protraderwiki/project && > source /home/tomfoolery/protraderwiki/bin/activate && > /home/tomfoolery/protraderwiki/bin/python > /home/tomfoolery/protraderwiki/project/manage.py createdb --noinput > --nodata" > > Aborting. > Disconnecting from 127.0.0.1... done. > > > /etc/postgresql/8.4/main/pg_hba.conf > ... > local all postgres ident > > # TYPE DATABASE USER CIDR-ADDRESS METHOD > > # "local" is for Unix domain socket connections only > local all all md5 > # IPv4 local connections: > host all all 127.0.0.1/32 md5 > # IPv6 local connections: > host all all ::1/128 md5 > > > I've tried deleting the database and user but I keep getting the same > error. Any suggestions would be awesome > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mezzanine-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.