Re: PostgreSQL setup

2008-12-31 Thread Matthew Seaman
Mel wrote: On Wednesday 31 December 2008 06:32:58 Odhiambo Washington wrote: script -a ~/PGSQL-INSTALL.txt make install clean Once that is done, go ito the ~/PGSQL-INSTALL.txt and read the lines towards the bottom. Those are sometimes calles Post-install message. They tell you exactly what to

Re: PostgreSQL setup

2008-12-31 Thread Mel
On Wednesday 31 December 2008 06:32:58 Odhiambo Washington wrote: > On Wed, Dec 31, 2008 at 6:15 PM, Andrew Gould wrote: > > On Wed, Dec 31, 2008 at 9:06 AM, stan wrote: > > > I have installed PostgreSQL via the ports on a new 7.1 machine. I am > > > > trying > > > > > to set it up. > > > > > > I

Re: PostgreSQL setup

2008-12-31 Thread Odhiambo Washington
On Wed, Dec 31, 2008 at 6:15 PM, Andrew Gould wrote: > On Wed, Dec 31, 2008 at 9:06 AM, stan wrote: > > > I have installed PostgreSQL via the ports on a new 7.1 machine. I am > trying > > to set it up. > > > > I found: > > > > http://www.freebsddiary.org/postgresql.php > > > > Whic says to run: >

Re: PostgreSQL setup

2008-12-31 Thread PstreeM China
> just look /usr/ports/database/postgresql*-server/pkg-desc* init your db,run the command /usr/local/etc/rc.d/postgresql initdb first ,add the line into /etc/rc.conf:postgresql_enable="yes" ___ freebsd-questions@freebsd.org mailing list http://lists.freeb

Re: PostgreSQL setup

2008-12-31 Thread Boris Samorodov
stan writes: > I have installed PostgreSQL via the ports on a new 7.1 machine. I am trying > to set it up. > > I found: > > http://www.freebsddiary.org/postgresql.php > > Whic says to run: > > su -l pgsql -c initdb > > But that gives me the following error message: > > initdb: no data directory

Re: PostgreSQL setup

2008-12-31 Thread Andrew Gould
On Wed, Dec 31, 2008 at 9:06 AM, stan wrote: > I have installed PostgreSQL via the ports on a new 7.1 machine. I am trying > to set it up. > > I found: > > http://www.freebsddiary.org/postgresql.php > > Whic says to run: > > su -l pgsql -c initdb > > But that gives me the following error message

PostgreSQL setup

2008-12-31 Thread stan
I have installed PostgreSQL via the ports on a new 7.1 machine. I am trying to set it up. I found: http://www.freebsddiary.org/postgresql.php Whic says to run: su -l pgsql -c initdb But that gives me the following error message: initdb: no data directory specified You must identify the direc