Rails: could not connect to database postgres: FATAL: Peer authentication failed for user "username"
摘要:
/var/lib/pgsql/9.2/data/pg_hba.conf打开之后找到local all postgres/all peer改成local all postgres trust保存之后重新加载文件sudo /etc/init.d/postgresql reload 阅读全文
posted @ 2013-09-14 21:56 小浪鼓 阅读(1467) 评论(0) 推荐(0) 编辑