I have just installed postgresql and I specified password x during installation.
When I try to do createdb
and specify any password I get the message:
createdb: could not connect to database postgres: FATAL: password authentication failed for user
Same for createuser
.
How should I start?
Can I add myself as a user to the database?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…