+ -
当前位置:首页 → 问答吧 → 用postgresql的问题?怎么开始?

用postgresql的问题?怎么开始?

时间:2007-08-08

来源:互联网

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?怎么知道已经创建了用户?怎么开始?

作者: 林知枫   发布时间: 2007-08-08

psql:http://www.pgsqldb.org/pgsqldoc-8.1c/app-psql.html

作者: nehc   发布时间: 2007-08-08

在bash下面直接执行SQL了?

作者: kilo   发布时间: 2007-08-08

我现在的问题是,怎么开始使用pq?
就是说我创建了一个用户,怎么使用这个用户来使用pq?

作者: 林知枫   发布时间: 2007-08-10

我现在安装了pgadmin3,但我连联机服务器都联不上
请问一下,pgadmin3出来的联机窗口怎么添啊?

作者: 林知枫   发布时间: 2007-08-10

看看小P写的PostgreSQL的连载吧
http://www.linuxsir.org/main/?q=taxonomy/term/37

作者: redeast   发布时间: 2007-08-10

重新创建了一个有密码的用户,现在pgamdin3总算连上去了

作者: 林知枫   发布时间: 2007-08-10