D:\redmine>rake db:migrate
(in D:/redmine)
rake aborted!
syntax error on line 8, col 2: `  encoding: utf8'

(See full trace by running task with --trace)
修改redmine目录下config中的database.yml 配置mysql连接密码时应在密码前加一个空格

 

production:
  adapter: mysql
  database: redmine
  host: localhost
  username: jif
  password: 123456
  encoding: utf8

相关文章: