Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6664289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:35:38+00:00 2026-05-26T02:35:38+00:00

I have somewhat of a complex issue involving several different programs including redmine, MySQL,

  • 0

I have somewhat of a complex issue involving several different programs including redmine, MySQL, Ruby, Ruby on Rails etc. This is on Windows XP.

I am following the redmine instructions here: http://www.redmine.org/projects/redmine/wiki/RedmineInstall

I am on step 5. where I am suppose to type RAILS_ENV=production rake db:migrate

When I type this in the command prompt and hit enter I get an error: “RAILS_ENV” is not a command blah blah.

So I reorder it to: rake db:migrate RAILS_ENV=production

This seems to work correct, but I get the following:

C:\redmine-1.2.1>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'

Here is my database.yml file contents:

MySQL (default setup).

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

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.

Any help would be greatly appreciated.

DemiSheep

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:35:39+00:00Added an answer on May 26, 2026 at 2:35 am

    So, you have created the ‘redmine’ mysql user with the password specified in database.yml?

    Can you connect to this user using mysql client? (e.g. mysql -uredmine -pyourmysqlpassword)

    Does the user have all required privileges?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several somewhat separate programs, that conceptually can fit into a single project.
I have a somewhat complex mySQL query I am trying to execute. I have
I have a somewhat complex custom user control, created in C# .NET, which is
I have an ObservableCollection of ChildViewModels with somewhat complex behaviour. When I go to
I have a PHP web app that generates a somewhat complex report from our
I am trying to create a somewhat complex relationship in Rails, and am having
I have a somewhat complex data model in my iPad application (an OpenGL drawing
I have a somewhat complex query with multiple (nested) sub-queries, which I want to
I have a somewhat complex pricing mechanism in my application- Here are some of
I have a somewhat complex regular expression which I'm trying to match against a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.