Actions
Defect #32644
closed配置renmine时,无法识别renmine数据库
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