Re: PSQL under Windows XP

Поиск
Список
Период
Сортировка
От Kevin Crenshaw
Тема Re: PSQL under Windows XP
Дата
Msg-id D8439C286CD66D4EBD89F853EBCE6E210F7BA3@ccs1.tiewireinc.com
обсуждение исходный текст
Ответ на PSQL under Windows XP  (Danny Gaethofs <dgaethofs@yahoo.com>)
Ответы Re: PSQL under Windows XP  (John DeSoi <desoi@pgedit.com>)
Список pgsql-novice
Danny,

What works for me is to log in as 'postgres' on the template1 database.
From there you can use the 'create database' command to create a new
database.  When that's done, quit template1 and then log in to the new
database as 'postgres'.

HTH,


kevin crenshaw


-----Original Message-----
From: Danny Gaethofs [mailto:dgaethofs@yahoo.com]
Sent: Monday, May 30, 2005 5:51 AM
To: pgsql-novice@postgresql.org
Subject: [NOVICE] PSQL under Windows XP

dear all,

I have a question about creating a database.
I can create a database easily using pgAdminiii, but I
am trying to get it done using psql.

When I try to start the psql editor using psql
I get the message psql: FATAL: Password authentication
failed for user ....

I think I need to login as the administrator. I looked
at the psql to template1 command which is working. I
found the following command:
psql.exe  -h localhost -p 5432 template1 "postgres"

Now I would like to use it but not with template1.

How can I login the psql interactive terminal as the
administrator. It works with the above command for
template1.

What am I missing here?

regards,
Danny



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


В списке pgsql-novice по дате отправления:

Предыдущее
От: Danny Gaethofs
Дата:
Сообщение: PSQL under Windows XP
Следующее
От: "Kevin Crenshaw"
Дата:
Сообщение: Re: Unable to Delete a Row