Project

General

Profile

Actions

Defect #2833

closed

scripts/generate script doesn't use the database settings?

Added by Robert Chady almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-02-24
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When I ran "ruby script/generate redmine_plugin TestForMe", I was greeted by a nice backtrace. Reviewing the backtrace, it shows that generate tries to connect to mysql, but it uses the current user rather than the one configured for redmine. It also seems to require the user to not have a password set.

I believe this is a bug, unless there is a way to specify the user/password when calling generate.
Unfortunately, this means I can't currently start the plugin I'm working on.

This was done against r2521, running Rails-2.2.2, and mysql-5.0.45.

Actions

Also available in: Atom PDF