su postgres:对不起? [英] su postgres: Sorry?
本文介绍了su postgres:对不起?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的新Mac OSX Lion机器上的我的postgreSQL设置有问题。
我似乎无法连接到服务
$ createuser -a -d _postgres
密码:
createuser:无法连接到数据库postgres:FATAL:password authentication failed for用户
我没有机会找到正确的密码。任何想法可能是什么。我有一个localhost服务器的默认设置。当我尝试通过pgAdmin连接时也会发生同样的情况。
$ su postgres
密码:
su:对不起
我没有机会找出有什么问题?
解决方案请尝试:
$ sudo su postgres
并指定您自己的密码。
i have a problem with my postgreSQL setup on my new Mac OSX Lion machine.
I can't seem to connect to the service
$ createuser -a -d _postgres Password: createuser: could not connect to database postgres: FATAL: password authentication failed for user
I have no chance to find the correct password. Any idea what could that be. I have the default setup with a localhost server. The same happens when I try to connect via pgAdmin.
$ su postgres Password: su: Sorry
I have no chance to find out what's wrong?
解决方案try this:
$ sudo su postgres
And specify your own password.
这篇关于su postgres:对不起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文