20080812

Start postgresql, create database and access it

Platform:FreeBSD

# su - pgsql
$ initdb -D /usr/local/pgsql/data
(if only doesn't exist)
$ postgres -D /usr/local/pgsql/data >logfile 2>&1 &
$ createdb test
$ psql test


Install: using ports
Binary location: /usr/local/bin
Don't forget to modify rc.conf

No comments:

Post a Comment