Re: Postgres novice question
- From: Michael Soibelman <in-the@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 13:30:18 -0800
Bondok wrote:
On Nov 30, 9:54 pm, Michael Soibelman <in-...@xxxxxxxxx> wrote:
I am trying to use Postgres with another application and need to set up a
few things. To start out I tried logging in as the postgres superuser:
su postgres
where I am asked for the password. I've tried several passwords but none
work. What is the 'default' password after a new install on 10.3 ??
Thanks.
P.S. Tried my normal user password, my root password and 'admin'
and 'Admin".. and even left the password blank. None works.
You have to create one database user and one database schema. (Make
sure you create an Unicode database, otherwise the server won't start
correctly.)
The default superuser for PostgreSQL is called postgres. We will use
it below as an example. If you wish to use it as well, you may need to
login as this user first.
johndoe$ sudo su postgres
password: XXXXXXXXXX
postgres$
The default installation of PostgreSQL sets security to allow access
without password for localhost connections. This is called the trust
security model.
Yours,
Ahmed Samir - Managing Director
www.am4computers.com
Your online source for printing supplies, storage media, computer
paper,
hardware and accessories and full Business-to-Business e-procurement
services.
AM for Computers and Consulting
Heliopolis, Cairo
EGYPT
Thank you. That did it. Forgot to try using 'sudo' before the 'su
postgres' command. All is well :-)
.
- References:
- Postgres novice question
- From: Michael Soibelman
- Re: Postgres novice question
- From: Bondok
- Postgres novice question
- Prev by Date: Re: USB Drive problem
- Next by Date: Re: Printing issue with .PDF files
- Previous by thread: Re: Postgres novice question
- Next by thread: Re: Postgres novice question
- Index(es):
Relevant Pages
|