Try: rake db:create On Tue, Apr 12, 2011 at 7:00 PM, amritpal pathak <[email protected]>wrote:
> i did > cd blog > script/server and got follwoing message . > > => Booting WEBrick > => Rails 2.3.8 application starting on http://0.0.0.0:3000 > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:62:in > `establish_connection': adapter:mysql database:blogg username:root > password:12345 socket:/var/run/mysqld/mysqld.sock database is not configured > (ActiveRecord::AdapterNotSpecified) > from > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:60:in > `establish_connection' > from > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:55:in > `establish_connection' > from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:438:in > `initialize_database' > from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:141:in > `process' > from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in > `send' > from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in > `run' > from /home/amrit/blog/config/environment.rb:9 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from > /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in > `require' > from > /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in > `require' > from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:84 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from script/server:3 > > > > Then i did > lsof|grep 3000 > kill -9 (4 digit ruby's code) > Still didnt help > > Please help to remove this > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

