database.yml not honored on DreamHost

21 views
Skip to first unread message

Martin Stabenfeldt

unread,
Apr 4, 2011, 1:59:34 PM4/4/11
to spree...@googlegroups.com
Hi,

I´m moving my working Spree 0.11 app to DreamHost. Unfortunately the settings in database.yml is not honored when I start the Rails app.
It is somehow overridden, but I can´t see where nor why.  I would be really grateful if someone could point me in the right direction!


$ cat config/database.yml 
development:
  adapter: mysql
  database: ohso_dev
  host: 127.0.0.1

test:
  adapter: mysql
  database: ohso_test
  host: 127.0.0.1

production:
  adapter: mysql
  database: ohso_prod
  user: db_user
  password: xxx


$  RAILS_ENV=production ruby script/about
/home/userspree/myspree.no/releases/20110404173636/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:619:in `real_connect': Access denied for user 'root'@'homam.dreamhost.com' (using password: YES) (Mysql::Error)
        from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `polyglot_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script/about:4




-- 
Best,
Martin


Martin Stabenfeldt

unread,
Apr 5, 2011, 1:41:14 PM4/5/11
to spree...@googlegroups.com
Never mind, it´s related to the extensions. Creating a new post..


--
Martin


2011/4/4 Martin Stabenfeldt <mar...@stabenfeldt.net>



--
Martin Stabenfeldt
Langgata 2 a
0566 Oslo
Tlf: +47 93441707

Reply all
Reply to author
Forward
0 new messages