Re: Can't access database with normal Ubuntu Terminal user

2012-04-18 Thread Gelonida N
Not sure if this helps you. I had to create the file ~/.pgpass in the home directory of my developers account. I repeated there the data base name, the user name and the password for my database. Example: localhost:*:db_name:username:password Afterwards I was able to access the db with

Re: Can't access database with normal Ubuntu Terminal user

2012-04-17 Thread kenneth gonsalves
On Tue, 2012-04-17 at 15:45 +0800, Guillaume Chorn wrote: > Thanks for the input, but I think I'm going to need more help than > this. I > was able to find the pg_hba.conf file, but have no idea how to edit > it. > Can anyone help with this? > > look at the last few lines - change the

Re: Can't access database with normal Ubuntu Terminal user

2012-04-17 Thread kenneth gonsalves
On Tue, 2012-04-17 at 15:45 +0800, Guillaume Chorn wrote: > Thanks for the input, but I think I'm going to need more help than > this. I > was able to find the pg_hba.conf file, but have no idea how to edit > it. > Can anyone help with this? > > look at the last few lines - change the

Re: Can't access database with normal Ubuntu Terminal user

2012-04-17 Thread Guillaume Chorn
Thanks for the input, but I think I'm going to need more help than this. I was able to find the pg_hba.conf file, but have no idea how to edit it. Can anyone help with this? Sorry, I'm pretty new to all of this (SQL, Linux, etc.) so I'm hoping someone can provide me fairly detailed instructions.

Re: Can't access database with normal Ubuntu Terminal user

2012-04-17 Thread kenneth gonsalves
On Tue, 2012-04-17 at 14:50 +0800, Guillaume Chorn wrote: > FATAL: Peer authentication failed for user "postgres" suitably edit pg_hba.conf -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Can't access database with normal Ubuntu Terminal user

2012-04-17 Thread Guillaume Chorn
Something more specific in case it helps: as an example, when I try to access my admin view while logged in as my regular user ("guillaume") instead of "postgres", I get the following error: OperationalError at /admin/ FATAL: Peer authentication failed for user "postgres" Request Method: GET

Can't access database with normal Ubuntu Terminal user

2012-04-17 Thread Gchorn
I'm not totally sure if this qualifies as a Django question, but it's impeding my ability to make a website with Django so I thought I'd ask here. I'm working with Django in Ubuntu 11.10, where I've set up PostgreSQL to make and manage databases for my Django-powered website. Unfortunately,