Getting:
An error has occurred:
Error connecting to the server: fe_sendauth: no password supplied
Settings in database.yml
are the same as the app setup on other machines.
How can I set things up so that I don't need a password hardcoded?
I can view the db ok using PgAdmin-III.
I'd rather not have the password in database.yml
as other machines using this app don't have/need it, so it seems likely to be something about my Pg install.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…