2.ユーザーとデータベース作成・削除

■ユーザー作成・削除
$ createuser [UserName]

※作成時質問される
Shall the new role be a superuser? (y/n) n
スーパーユーザーか?
Shall the new role be allowed to create databases? (y/n) y
データベース作成を許可するか?
Shall the new role be allowed to create more new roles? (y/n) n
新しいユーザーを作成できるか?

$ dropuser [UsrName]

■DB作成・削除
$ createdb [DbName]
$ dropdb [DbName]


戻る | CGI'sトップへ戻る