Hi All,
“We’re sorry, but something went wrong.” is the message I got when I
started up an RoR app in the environment:
Rails 2.3.5
Ruby 1.8.6
WinXP-Pro/SP3
Firefox 3.6
MySQL 5.0.37-community-nt
Mongrel
The app under development was working fine until I (stupidly) thought
I needed to upgrade MySQL to 5.1.44.
I took the precaution of MySQL-dumping
the development db before upgrading. Then I ran into problems which
led me to switch back to a clean install of 5.0.37 and reboot.
I used MySQL to reinstall the development db and tested it
successfully under the MySQL client.
I started up Mongrel and ran my app using localhost:3000, getting the
captioned message.
The development log is presented below. Suggestions are extremely
welcome.
Thanks in Advance,
Richard
Development.log
/!\ FAILSAFE /!\ Fri Mar 12 13:42:10 -0500 2010
Status: 500 Internal Server Error
Unknown database ‘rts_development’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:589:in real_connect' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:589:in
connect’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:203:in initialize' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:75:in
new’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:75:in mysql_connection' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/abstract/ connection_pool.rb:223:in
send’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/abstract/
connection_pool.rb:223:in new_connection' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/abstract/ connection_pool.rb:245:in
checkout_new_connection’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/abstract/
connection_pool.rb:188:in checkout' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/abstract/ connection_pool.rb:184:in
loop’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/abstract/
connection_pool.rb:184:in checkout' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/1.8/monitor.rb:242:in
synchronize’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/abstract/
connection_pool.rb:183:in checkout' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/abstract/ connection_pool.rb:98:in
connection’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/abstract/
connection_pool.rb:326:in retrieve_connection' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/abstract/ connection_specification.rb:123:in
retrieve_connection’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/abstract/
connection_specification.rb:115:in connection' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
cache’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/query_cache.rb:28:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/abstract/ connection_pool.rb:361:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rack-1.0.1/lib/rack/head.rb:9:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rack-1.0.1/lib/rack/methodoverride.rb:24:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rack-1.0.1/lib/rack/lock.rb:11:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rack-1.0.1/lib/rack/lock.rb:11:in
synchronize’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rack-1.0.1/lib/rack/lock.rb:11:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
actionpack-2.3.5/lib/action_controller/reloader.rb:34:in run' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rails-2.3.5/lib/rails/rack/static.rb:31:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rack-1.0.1/lib/rack/urlmap.rb:46:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rack-1.0.1/lib/rack/urlmap.rb:40:in each' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rack-1.0.1/lib/rack/urlmap.rb:40:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rack-1.0.1/lib/rack/content_length.rb:13:in
call’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rack-1.0.1/lib/rack/chunked.rb:15:in call' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rack-1.0.1/lib/rack/handler/mongrel.rb:64:in
process’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in process_client' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in
each’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in process_client' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
run’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in initialize' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
new’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in run' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
initialize’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in new' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
run’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
rack-1.0.1/lib/rack/handler/mongrel.rb:34:in run' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ rails-2.3.5/lib/commands/server.rb:111 K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:in
gem_original_require’
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require’
script/server:3