遵循以下说明(使用postgresql而不是mysql):http://www.redmine.org/projects/redmine/wiki/Redmine_on_CentOS_installation_HOWTO
运行此命令时:
RAILS_ENV=production bundle exec rake db:migraterake显示一条错误消息:
FATAL: Ident authentication failed for user "redmine"??
发布于 2012-05-19 08:12:46
不需要为redmine修改pg_hba.conf。首先检查您的数据库角色是否配置正确:
su - postgres
psql -d redmine -U redmine -h localhost
<password challenge>如果密码被接受,那么下一步是确认您已经安装了libopenssl-ruby。
发布于 2012-10-03 06:49:16
您的postgres用户名应该与您的linux用户名相同,这比修改"pg_hba.conf“文件更容易。
发布于 2016-07-23 16:11:42
这对我来说很有效:
psql redmine redmine -h localhost
-h localhost部分起到了作用。
https://stackoverflow.com/questions/9942963
复制相似问题