After doing the /usr/ports/databases/postgresql7 port make installroot@borrego# su -l pgsql -c initdb
root@borrego# /usr/local/etc/rc.d/010.pgsql.sh start
root@borrego# su pgsql
psql@borrego$ /usr/local/bin/createuser jared (do this for any users you want to add to postgresql)
>>>Shall the new user be allowed to create databases? (y/n) y
>>>Shall the new user be allowed to create more new users? (y/n) y
>>>CREATE USERlogin account jared then:
jared@borrego$ createdb testdb
CREATE DATABASEjared@borrego$ psql testdb
testdb=# create user blahuser
CREATE USER
-
Recent Posts
Tweets
Categories
- Android (3)
- Databases (35)
- Deaf (112)
- DeafRead (63)
- FreeBSD (77)
- Linux (33)
- Networking (5)
- Scripting languages (PHP, Perl, etc) (33)
- Uncategorized (361)
- Video (58)
- Web/Tech (144)