From: Sean G <seangaret@yahoo.ca>
To: pgsql-admin@postgresql.org
Subject: Why psql.exe does not work?
Date: Thu, 19 Jan 2006 15:11:27 -0500 (EST)
Message-ID: <20060119201127.16729.qmail@web33506.mail.mud.yahoo.com> (raw)
In-Reply-To: <17319.1137690111@sss.pgh.pa.us>
Hello,
I have done a silent installation, the installation
worked eventually, and I can use pgAdmin interface to
connect to it. However I have problem using psql.exe
to connect to the database.
I need to create a database called delphie from
command line. It should be a part of the installation
I'm working on.
I used the follwing commands
psql.exe -U root
but it keeps giving me:
psql: FATAL: password authentication failed for user
"root"
root is the supper user and the password is also root,
but not only the program does not prompt for password
but also there is no way that I can supply a password
through the command line.
The ultimate goal is I need to create a database
automatically without user interacation. I have a sql
script that I need to run to create the tables. I have
used Oracle without problems before but not sure how
to approach with Postgres.
Any help/tip is greatly appreciaged.
Sean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: seangaret@yahoo.ca
Subject: Re: Why psql.exe does not work?
In-Reply-To: <20060119201127.16729.qmail@web33506.mail.mud.yahoo.com>
References: <17319.1137690111@sss.pgh.pa.us> <20060119201127.16729.qmail@web33506.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox