#transform_null_equals = off
・・・
─────────────────────────────────────
手順8) Roller用データベースの作成
以下のようにデータベースを作成します。
データベース名 = rollerdb
データベースユーザ = rollerdb
ユーザパスワード = rollerdb123
─────────────────────────────────────
# su - postgres
$ psql -U postgres
psql (9.1.3)
Type "help" for help.
postgres=# CREATE DATABASE rollerdb WITH OWNER=postgres ENCODING='utf-8' TABLESPACE=pg_default;
CREATE DATABASE
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+---------+-------+-----------------------
postgres | postgres | UTF8 | C | C |
rollerdb | postgres | UTF8 | C | C |
template0 | postgres | UTF8 | C | C | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | C | C | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
postgres=# \connect rollerdb
You are now connected to database "rollerdb" as user "postgres".
rollerdb=# CREATE USER rollerdb PASSWORD 'rollerdb123' VALID UNTIL 'infinity';
CREATE ROLE
rollerdb=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------+-----------
※コメントの受付件数を超えているため、この記事にコメントすることができません。