Shaban K.
2012-Jun-05 23:34 UTC
Errors when trying to create a mysql database for rails spree project
Hi I am getting an error when I am installing spree onto a new rails project utilising a mysql database. Installing spree I get the following error in the error text file and also my database yaml file is atttached. Attachments: http://www.ruby-forum.com/attachment/7459/errors.txt http://www.ruby-forum.com/attachment/7460/database_yaml.txt -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Oscar Del Ben
2012-Jun-06 00:32 UTC
Re: Errors when trying to create a mysql database for rails spree project
what''s the error message (not the stack trace)? -- Oscar Del Ben Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 5, 2012 at 4:34 PM, Shaban K. wrote:> Hi I am getting an error when I am installing spree onto a > new rails project utilising a mysql database. Installing > spree I get the following error in the error text file and also my > database yaml file is atttached. > > Attachments: > http://www.ruby-forum.com/attachment/7459/errors.txt > http://www.ruby-forum.com/attachment/7460/database_yaml.txt > > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2012-Jun-06 06:57 UTC
Re: Errors when trying to create a mysql database for rails spree project
On 6 June 2012 00:34, Shaban K. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi I am getting an error when I am installing spree onto a > new rails project utilising a mysql database. Installing > spree I get the following error in the error text file and also my > database yaml file is atttached. > > Attachments: > http://www.ruby-forum.com/attachment/7459/errors.txt > http://www.ruby-forum.com/attachment/7460/database_yaml.txtYour database.yml file is not correctly formatted. It must have leading spaces on the nested lines. Look at the default file created for a new rails project to see. Also make sure there are no tabs in the file. Colin> > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Shaban K.
2012-Jun-06 08:12 UTC
Re: Errors when trying to create a mysql database for rails spree project
Here is the original error:- rake aborted! ActiveRecord::ConnectionNotEstablished -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.