Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: How to connect to the database server



> 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.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group