mat*_*att 20 database postgresql console su
我的新Mac OSX Lion机器上的postgreSQL设置有问题.
我似乎无法连接到该服务
$ createuser -a -d _postgres
Password:
createuser: could not connect to database postgres: FATAL: password authentication failed for user
Run Code Online (Sandbox Code Playgroud)
我没有机会找到正确的密码.知道那可能是什么.我有一个localhost服务器的默认设置.当我尝试通过pgAdmin连接时也会发生同样的情况.
$ su postgres
Password:
su: Sorry
Run Code Online (Sandbox Code Playgroud)
我没有机会发现什么是错的?
A.H*_*.H. 11
这有用吗?
首先获得root访问权限
$ su -
Password: RootPW
# su - postgres
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
32372 次 |
最近记录: |