|
|
CH:~# su postgres
postgres@CH:/root$ create role TiSV;
bash: create: command not found
postgres@CH:/root$ CREATE ROLE TiSV;
bash: CREATE: command not found
postgres@CH:/root$ createuser TiSV;
Shall the new role be a superuser? (y/n) y
CREATE ROLE
postgres@CH:/root$ su TiSV
未知 id:TiSV
postgres@CH:/root$ select usename from pg_role;
bash: syntax error near unexpected token `from'
--------------------------------
我的问题是:怎么开始用postgresql?怎么知道已经创建了用户?怎么开始? |
|