LinuxSir.cn,穿越时空的Linuxsir!

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

救命...postgresql无法添加用户(已经解决)

[复制链接]
发表于 2010-3-7 15:10:16 | 显示全部楼层 |阅读模式
15:08|loin@~>$sudo -u postgres sh
15:08|postgres@~>$createuser -ADP loin
Enter password for new role:
Enter it again:
Shall the new role be allowed to create more new roles? (y/n) y
createuser: could not connect to database postgres: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
──────────────────────────────
解决办法:该死,我查看了一下,没有启动服务端..............
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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