title: Redmine installation issues rake command issue, MySQL database issue?
body: <p>I have somewhat of a complex issue involving several different programs including redmine, MySQL, Ruby, Ruby on Rails etc. This is on Windows XP.</p>
  
  <p>I am following the redmine instructions here: <a href="http://www.redmine.org/projects/redmine/wiki/RedmineInstall" rel="nofollow">http://www.redmine.org/projects/redmine/wiki/RedmineInstall</a></p>
  
  <p>I am on step 5. where I am suppose to type <code>RAILS_ENV=production rake db:migrate</code></p>
  
  <p>When I type this in the command prompt and hit enter I get an error: "RAILS_ENV" is not a command blah blah.</p>
  
  <p>So I reorder it to: <code>rake db:migrate RAILS_ENV=production</code></p>
  
  <p><strong>This seems to work correct, but I get the following:</strong></p>
  
  <pre><code>C:\redmine-1.2.1&gt;rake db:migrate RAILS_ENV=production --trace
  * Invoke db:migrate (first_time)
  * Invoke environment (first_time)
  * Execute environment
    rake aborted!
    Access denied for user 'redmine'@'localhost' (using password: YES)
    C:/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters
    /mysql_adapter.rb:620:in `real_connect'
    C:/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters
    /mysql_adapter.rb:620:in `connect'
    C:/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters
    /mysql_adapter.rb:203:in `initialize'
    C:/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters
    /mysql_adapter.rb:75:in `new'
  </code></pre>
  
  <p>Here is my <code>database.yml</code> file contents:</p>
  
  <p>MySQL (default setup).</p>
  
  <pre><code>production:
    adapter: mysql
    database: redmine
    host: localhost
    username: redmine
    password: ****
    encoding: utf8
  
  development:
    adapter: mysql
    database: redmine_development
    host: localhost
    username: root
    password:
    encoding: utf8
  
   # Warning: The database defined as "test" will be erased and
   # re-generated from your development database when you run "rake".
   # Do not set this db to the same as development or production.
  
   test:
    adapter: mysql
    database: redmine_test
    host: localhost
    username: root
    password:
    encoding: utf8
  
  test_pgsql:
    adapter: postgresql
    database: redmine_test
    host: localhost
    username: postgres
    password: "postgres"
  
  test_sqlite3:
    adapter: sqlite3
    database: db/test.sqlite3
  </code></pre>
  
  <p>I really need some direction here. It's almost like there is a problem with my users/passwords. I have changed the passwords not to contain "!" or any other special characters. I do have capital and lower case letters.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>DemiSheep</p>