Problems with createdb.exe and createuser.exe - Mailing list pgsql-general

From Zhan Deng
Subject Problems with createdb.exe and createuser.exe
Date
Msg-id B4102F8F41997048A187896E47ACC61D0FDE1D@ntxbeus15.exchange.xchg
Whole thread Raw
Responses Re: Problems with createdb.exe and createuser.exe
List pgsql-general

Hi,

 

I have a question regarding the PostgreSQL installation.

 

I installed PostgreSQL in silent mode successfully. I passed the following parameters into the postgresql:

 

Msiexec postgresql-8.2-int.msi" /l*v C:\\log4.txt /qb INTERNALLAUNCH=1 ADDLOCAL=server,psql,pgadmin,jdbc,npgsql SERVICEDOMAIN=%COMPUTERNAME% CREATESERVICEUSER=1 SERVICEACCOUNT=postgres SERVICEPASSWORD=pgservice SUPERPASSWORD=pgsuper BASEDIR=C:\postgres\postgresql-8.2.3

 

After the installation,  I was trying to run createdb.exe and createuser.exe utilities in a silent mode.  But they always ask me to enter the password.  Is there is a way that I can run them by passing the username/password from the command line without the prompting for entering password/interactive mode.

 

Thank you,

Zhan

 

 

 

 

 

 

pgsql-general by date:

Previous
From: Kevin Kempter
Date:
Subject: pgpool redundancy question
Next
From: Gabriel Laet
Date:
Subject: Design Table & Search Question