LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1249|回复: 2

postgreslq数据库用户帐号问题

[复制链接]
发表于 2006-9-20 01:30:23 | 显示全部楼层 |阅读模式
我在suse10下安装了用rpm包安装了postgresql8.0.3。并创建一用户,该用户的默认group设定为postgres。但试图用该用户createdb时提示错误:
createdb: could not connect to database tempelate1: FATAL: user "joe" does not exist
该作何解?请各位赐教!谢谢
发表于 2006-9-20 10:49:58 | 显示全部楼层
先su   root
再su   postgres
再创建joe
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-20 13:20:38 | 显示全部楼层
解决了谢谢
但好像pgaccess还是有点问题。总是连接不上
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表