From: | Prashanth Kumar <prashanthk(at)hotmail(dot)com> |
---|---|
To: | Kevin Burton <rkevinburton(at)charter(dot)net>, 'Adrian Klaver' <adrian(dot)klaver(at)gmail(dot)com> |
Cc: | "'Joshua D(dot) Drake'" <jd(at)commandprompt(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: role does not exist |
Date: | 2012-11-01 15:43:10 |
Message-ID: | BLU002-W121E3CBD72822FC928BCDECF600@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
should have given the full output earlier
pkumar(at)ulinux1:~$ sudo su - postgres[sudo] password for pkumar: postgres(at)ulinux3:~$ createdb authDBpostgres(at)ulinux3:~$ createuser -P -l authuserEnter password for new role: Enter it again: Shall the new role be a superuser? (y/n) ypostgres(at)ulinux3:~$ psql authDBpsql (8.4.11)Type "help" for help.
authDB=#
> From: rkevinburton(at)charter(dot)net
> To: adrian(dot)klaver(at)gmail(dot)com
> CC: jd(at)commandprompt(dot)com; pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] role does not exist
> Date: Thu, 1 Nov 2012 10:21:31 -0500
>
> Sudo -u postgres psql - now works!! Thank you. Now how do I add a role so
> that I don't have to use sudo?
>
> -----Original Message-----
> From: Adrian Klaver [mailto:adrian(dot)klaver(at)gmail(dot)com]
> Sent: Thursday, November 01, 2012 10:13 AM
> To: Kevin Burton
> Cc: 'Joshua D. Drake'; pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] role does not exist
>
> On 11/01/2012 08:06 AM, Kevin Burton wrote:
> > I had to install postgresql-client-common and postgresql-client-9.1 to
> > get psql it said that psql was in postgresql-client-common AND
> postgresql-xc.
> > Now that I know to avoid 'xc' I choose the common and rebooted. Then I
> > tried to run psql and I was met with an error that at least one of
> > postgresql-client-<version> had to be installed so I installed
> > postgresql-client-9.1. Now when I run psql I get the error:
> >
> > psql: could not connect to server: not such file or directory . . . .
> >
> > Now what?
>
> You have the client side installed but not the server side. You need to
> install the postgresql package. I have to run, will be away from computer
> for awhile. Good luck.
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)gmail(dot)com
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Burton | 2012-11-01 15:46:46 | Re: role does not exist |
Previous Message | Kevin Burton | 2012-11-01 15:41:03 | Re: Where is 'createdb'? |