Jaisen N.D. wrote:
> postgres(at)localhost:~$ /usr/lib/postgresql/8.1/bin/initdb -D
> The files belonging to this database system will be owned by user
> This user must also own the server process.
> The database cluster will be initialized with locale en_IN.
> The default database encoding has accordingly been set to UTF8.
> initdb: directory "/var/lib/postgresql/data" exists but is not empty
> If you want to create a new database system, either remove or empty
> the directory "/var/lib/postgresql/data" or run initdb
> with an argument other than "/var/lib/postgresql/data".
You should try one of the two options mentioned in the error message.
The directory you use for -D option on initdb needs to be empty.
In response to
pgsql-novice by date
|Next:||From: e-letter||Date: 2008-04-13 06:58:31|
|Subject: convert text file to database|
|Previous:||From: Frank Bax||Date: 2008-04-13 04:06:01|
|Subject: Re: ORDER BY Clause|