Project

General

Profile

No database connection

Added by Johannes Pfeifer over 11 years ago

Hi everyone,

I am trying to set up redmine 2.1.2 with this command:

set RAILS_ENV=production && rake redmine:load_default_data

And I am getting this error message:

rake aborted!
No such file or directory - I:/redmine-2.1.2/config/database.yml

Tasks: TOP => redmine:load_default_data => environment
(See full trace by running task with --trace)

I did already copy the correct libmySQL.dll to C:\Ruby193\bin from the official MySQL Website (Windows (x86, 64-bit), ZIP Archive).

Can anyone please help me? Is the 64 bit version of MySQL not supported?

My environment:

  • OS: Windows 7 64 Bit Service Pack 1
  • Database server: mysql Ver 14.14 Distrib 5.5.28, for Win64 (x86)
  • Ruby-Server: Webrick
  • database.yml
    production:
      adapter: mysql2
      database: redmine
      host: localhost
      username: ********
      password: ********
      encoding: utf8
    
  • Installed gems
    gem list
    
    *** LOCAL GEMS ***
    
    actionmailer (3.2.8, 2.3.5)
    actionpack (3.2.8, 2.3.5)
    activemodel (3.2.8)
    activerecord (3.2.8, 2.3.5)
    activerecord-mysql2-adapter (0.0.3)
    activerecord-ruby_mysql-adapter (0.1)
    activeresource (3.2.8, 2.3.5)
    activesupport (3.2.8, 2.3.5)
    arel (3.0.2)
    bigdecimal (1.1.0)
    builder (3.1.3, 3.0.3, 3.0.0)
    bundler (1.2.1)
    cgi_multipart_eof_fix (2.5.0)
    coderay (1.0.7)
    erubis (2.7.0)
    gem_plugin (0.2.3)
    hike (1.2.1)
    i18n (0.6.1)
    io-console (0.3)
    journey (1.0.4)
    jquery-rails (2.1.3, 2.0.3)
    json (1.7.5, 1.5.4)
    mail (2.4.4)
    mime-types (1.19)
    minitest (4.0.0, 2.5.1)
    mongrel (1.1.5 x86-mingw32)
    multi_json (1.3.6)
    mysql (2.8.1 x86-mingw32)
    mysql2 (0.3.11 x86-mingw32)
    net-ldap (0.3.1)
    pg (0.14.1 x86-mingw32)
    polyglot (0.3.3)
    rack (1.4.1, 1.0.1)
    rack-cache (1.2)
    rack-openid (1.3.1)
    rack-ssl (1.3.2)
    rack-test (0.6.2)
    rails (3.2.8)
    railties (3.2.8)
    rake (0.9.2.2)
    rdiscount (1.6.8)
    rdoc (3.12, 3.9.4)
    ruby-openid (2.2.1, 2.1.8)
    sprockets (2.6.0, 2.1.3)
    sqlite3 (1.3.6 x86-mingw32)
    thor (0.16.0)
    tilt (1.3.3)
    treetop (1.4.10)
    tzinfo (0.3.33)