Project

General

Profile

RE: db:migrate problem -- Can't connect to local MySQL se... ยป trace.txt

db:migrate --trace - Aaron Evans, 2011-11-03 21:42

 
1
$ rake db:migrate RAILS_ENV="production" --trace
2
(in /home/alaskaair/qa-site/redmine-1.2.1)
3
** Invoke db:migrate (first_time)
4
** Invoke environment (first_time)
5
** Execute environment
6
rake aborted!
7
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
8
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:620:in `real_connect'
9
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:620:in `connect'
10
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:203:in `initialize'
11
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `new'
12
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `mysql_connection'
13
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send'
14
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
15
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
16
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout'
17
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
18
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout'
19
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
20
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
21
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
22
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
23
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
24
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
25
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:217:in `quoted_left_column_name'
26
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:93:in `acts_as_nested_set'
27
/home/alaskaair/qa-site/redmine-1.2.1/app/models/issue.rb:37
28
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
29
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
30
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
31
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
32
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
33
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
34
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
35
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
36
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
37
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:122:in `const_missing'
38
/home/alaskaair/qa-site/redmine-1.2.1/app/models/project.rb:40
39
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
40
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
41
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
42
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
43
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
44
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
45
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
46
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
47
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
48
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:122:in `const_missing'
49
/home/alaskaair/qa-site/redmine-1.2.1/app/models/attachment.rb:36
50
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
51
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
52
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
53
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
54
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
55
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
56
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
57
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
58
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
59
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
60
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
61
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
62
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
63
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
64
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:463:in `load_missing_constant'
65
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
66
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable'
67
/home/alaskaair/qa-site/redmine-1.2.1/app/models/message.rb:22
68
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
69
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
70
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:184:in `require'
71
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
72
/home/alaskaair/qa-site/redmine-1.2.1/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
73
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:451:in `load_missing_constant'
74
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'
75
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:118:in `const_missing'
76
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:364:in `constantize'
77
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:363:in `each'
78
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/inflector.rb:363:in `constantize'
79
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
80
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class'
81
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes'
82
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize'
83
/usr/lib/ruby/1.8/singleton.rb:94:in `new'
84
/usr/lib/ruby/1.8/singleton.rb:94:in `instance'
85
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers'
86
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each'
87
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers'
88
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15
89
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
90
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'
91
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
92
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
93
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
94
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
95
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
96
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'
97
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send'
98
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
99
/home/alaskaair/qa-site/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
100
/home/alaskaair/qa-site/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:185:in `process'
101
/home/alaskaair/qa-site/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
102
/home/alaskaair/qa-site/redmine-1.2.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
103
/home/alaskaair/qa-site/redmine-1.2.1/config/environment.rb:20
104
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
105
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
106
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
107
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
108
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
109
/home/alaskaair/qa-site/redmine-1.2.1/vendor/rails/railties/lib/tasks/misc.rake:4
110
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
111
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
112
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
113
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
114
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
115
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
116
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
117
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
118
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
119
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
120
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
121
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
122
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
123
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
124
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
125
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
126
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
127
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
128
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
129
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
130
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
131
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
132
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
133
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
134
/usr/bin/rake:19:in `load'
135
/usr/bin/rake:19
    (1-1/1)