PostgreSQL 初期設定 | HTTPD Installation |
Last modified : 2001/02/20 |
$ source ~/.bashrc $ initdb --pgdata=/usr/local/pgsql/data --pglib=/usr/local/pgsql/lib |
$ source ~/.bashrc $ createuser nobody
|
$ source ~/.bashrc $ dropuser nobody |
$ source ~/.bashrc $ createuser editor
|
$ source ~/.bashrc $ createuser root 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) n CREATE USER |
$ source ~/.bashrc $ createdb mast |
$ source ~/.bashrc $ dropdb mast |