---
title: "Redmine使用过程中碰到的相关问题及解决方法"
author: "ChrisRc"
date: "2011-10-08T16:52:30Z"
tags: []
categories: ["开源软件"]
slug: "redmine"
draft: false
lastmod: "2011-10-08T16:52:30Z"
id: 1187014
url: "https://chrisrc.iteye.com/blog/1187014"
---

1、在redmine部署某些插件后执行下面操作时：

```java
rake db:migrate:plugins RAILS_ENV=production
```

出现如下错误提示：

```java
rake aborted!
Access denied for user ’bitnami’@’localhost’ to database ‘redmine_development’
```

解决方法：
  退出redmine控制台，在执行任何ruby指令之前启动redmine console。注意：应在use_redmine脚本的当前路径下启动console：

```java
./use_redmine
rake db:migrate:plugins RAILS_ENV=production
```