rake db:create:all error

Manish,

Can you paste the full trace of the rake task.

Thanks,
Kilari.

Manish Arya wrote:

root@xxx:/opt/gitorious# rake db:create:all --trace
(in /opt/gitorious)
** Invoke db:create:all (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create:all
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:569:
[BUG] unknown type 0x22 (0xc given)
ruby 1.9.1p0 (2009-01-30 revision 21907) [sparc-solaris2.10]

-- control frame ----------
c:0051 p:---- s:0181 b:0181 l:000180 d:000180 CFUNC :options
c:0050 p:0038 s:0176 b:0176 l:000175 d:000175 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:569
c:0049 p:0044 s:0172 b:0172 l:000171 d:000171 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:204
c:0048 p:---- s:0165 b:0165 l:000164 d:000164 FINISH
c:0047 p:---- s:0163 b:0163 l:000162 d:000162 CFUNC :new
c:0046 p:0275 s:0156 b:0156 l:000155 d:000155 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:76
c:0045 p:0045 s:0145 b:0145 l:000144 d:000144 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223
c:0044 p:0011 s:0142 b:0142 l:000141 d:000141 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245
c:0043 p:0054 s:0138 b:0138 l:000124 d:000137 BLOCK
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188
c:0042 p:---- s:0135 b:0135 l:000134 d:000134 FINISH
c:0041 p:---- s:0133 b:0133 l:000132 d:000132 CFUNC :loop
c:0040 p:0009 s:0130 b:0130 l:000124 d:000129 BLOCK
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184
c:0039 p:0019 s:0128 b:0128 l:000127 d:000127 METHOD
/opt/rubynew/lib/ruby/1.9.1/monitor.rb:190
c:0038 p:0012 s:0125 b:0125 l:000124 d:000124 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183
c:0037 p:0044 s:0122 b:0119 l:000118 d:000118 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98
c:0036 p:0033 s:0115 b:0115 l:000114 d:000114 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326
c:0035 p:0018 s:0110 b:0110 l:000109 d:000109 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123
c:0034 p:0011 s:0107 b:0107 l:000106 d:000106 METHOD
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115
c:0033 p:0144 s:0104 b:0104 l:000103 d:000103 METHOD
/opt/gitorious/vendor/rails/railties/lib/tasks/databases.rake:52
c:0032 p:0012 s:0100 b:0100 l:000914 d:000099 BLOCK
/opt/gitorious/vendor/rails/railties/lib/tasks/databases.rake:24
c:0031 p:0041 s:0098 b:0098 l:000097 d:000097 METHOD
/opt/gitorious/vendor/rails/railties/lib/tasks/databases.rake:106
c:0030 p:0027 s:0093 b:0093 l:000914 d:0012c8 BLOCK
/opt/gitorious/vendor/rails/railties/lib/tasks/databases.rake:24
c:0029 p:---- s:0090 b:0090 l:000089 d:000089 FINISH
c:0028 p:---- s:0088 b:0088 l:000087 d:000087 CFUNC :each_value
c:0027 p:0023 s:0085 b:0085 l:000914 d:000034 BLOCK
/opt/gitorious/vendor/rails/railties/lib/tasks/databases.rake:10
c:0026 p:---- s:0083 b:0083 l:000082 d:000082 FINISH
c:0025 p:---- s:0081 b:0081 l:000080 d:000080 CFUNC :call
c:0024 p:0043 s:0076 b:0076 l:000067 d:000075 BLOCK
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:636
c:0023 p:---- s:0073 b:0073 l:000072 d:000072 FINISH
c:0022 p:---- s:0071 b:0071 l:000070 d:000070 CFUNC :each
c:0021 p:0167 s:0068 b:0068 l:000067 d:000067 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:631
c:0020 p:0108 s:0064 b:0064 l:000058 d:000063 BLOCK
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:597
c:0019 p:0019 s:0062 b:0062 l:000061 d:000061 METHOD
/opt/rubynew/lib/ruby/1.9.1/monitor.rb:190
c:0018 p:0032 s:0059 b:0059 l:000058 d:000058 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:590
c:0017 p:0048 s:0053 b:0053 l:000052 d:000052 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:583
c:0016 p:0045 s:0048 b:0048 l:000047 d:000047 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2051
c:0015 p:0012 s:0041 b:0041 l:000026 d:000040 BLOCK
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :each
c:0012 p:0069 s:0033 b:0033 l:000026 d:000032 BLOCK
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029
c:0011 p:0009 s:0031 b:0031 l:000030 d:000030 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068
c:0010 p:0011 s:0027 b:0027 l:000026 d:000026 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2023
c:0009 p:0029 s:0024 b:0024 l:000017 d:000023 BLOCK
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2001
c:0008 p:0009 s:0022 b:0022 l:000021 d:000021 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068
c:0007 p:0011 s:0018 b:0018 l:000017 d:000017 METHOD
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1998
c:0006 p:0036 s:0015 b:0015 l:000014 d:000014 TOP
/opt/rubynew/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin/rake:31
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0109 s:0007 b:0007 l:00055c d:000470 EVAL
/opt/rubynew/bin/rake:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00055c d:00055c TOP