我的新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)
我没有机会发现什么是错的?