Project

General

Profile

Actions

Defect #32644

closed

配置renmine时,无法识别renmine数据库

Added by jiankang chen over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ruby support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

错误详情:
C:\redmine>set RAILS_ENV=production

C:\redmine>rake db:migrate
rake aborted!
ActiveRecord::NoDatabaseError: Unknown database 'redmine'

Caused by:
Mysql2::Error: Unknown database 'redmine'

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

数据库也建立了:
database.yml也配置:
production:
adapter: mysql2
database: redmine
host: localhost
username: root
password: ""
encoding: utf8

求大神指教

Actions #1

Updated by Go MAEDA over 4 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please use forums for questions. Issues are used to report a bug, suggesting a new feature, or submitting a patch. Reading How to request help may be helpful for you.

Actions

Also available in: Atom PDF