Re: How to connect to the database server

From: guillaume(dot)yziquel(at)free(dot)fr
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: harold(dot)gimenez(at)gmail(dot)com, pgsql-novice(at)postgresql(dot)org
Subject: Re: How to connect to the database server
Date: 2008-05-22 20:19:05
Message-ID: 1211487545.4835d539f1f63@imp.free.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> Tom Lane a écrit :
> >
> > "psql -l" would tell you, though I bet the answers is "template1".
> > What you probably want to do is "psql template1" as postgres,
> > then create some users corresponding to the Unix accounts you
> > normally want to connect from.
> >
> > You might also want to change the default authentication mode,
> > which is probably "ident" right now. Depending on what you're
> > doing, it might be better to give all the users passwords and
> > switch to md5 (ie, password) auth.
> >
> > BTW, if the PG version doesn't create database "postgres" by
> > default, that means it's old enough to be obsolete.
> >
> > regards, tom lane

Thanks Tom, thanks Harold.

I'm now back on tracks.

Concerning obsolete versions, yep, it's obsolete. Using package postgresql-7.4
from my debian distribution.

Thanks again.

Guillaume.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message G. J. Walsh 2008-05-22 20:54:54 Unable to recover tables
Previous Message Tom Lane 2008-05-22 19:50:04 Re: How to connect to the database server