[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Re: installing tutos2



On Sat, May 26, 2007 at 11:39:20PM +0200, csanyipal wrote:
> On Sat, May 26, 2007 at 09:32:28AM -0400, Roberto C. Sánchez wrote:
> > On Sat, May 26, 2007 at 10:40:57AM +0200, csanyipal wrote:
> > > 
> > > No, I didn't this in postgres, but with sudo vigr.
> > > 
> > > I still can't to use tutos2 on my Debian Etch system.
> > > 
> > > Something I don't setup right in postgresql database, I think, but what?
> > > 
> > Log in to postgres and execute this:
> > 
> > SELECT * FROM pg_user;
> > 
> > Paste the results.
> 
> csanyipal@csanyi-pal:~$ su
> Password: 
> csanyi-pal:/home/csanyipal# su - postgres
> postgres@csanyi-pal:~$ SELECT * FROM pg_user;
> -su: SELECT: command not found
> 
After 'su - postgres', do this:

postgres@csanyi-pal:~$ psql -d template1

After that you get a psql prompt.  That is where you execute the SELECT
statement.

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: