Hello, I am new in ror I create new application and i try to connect mysql using rake db:migrate it showing attached error i am using xampp for mysql also my database.yml settigs are as follows ==================development: adapter: mysql2 encoding: utf8 reconnect: false database: mydiary pool: 5 username: mydiary password:mypassword host: localhost ================== Attachments: http://www.ruby-forum.com/attachment/5852/error.JPG -- 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.
gem install mysql, maybe you forget it. On Fri, Feb 4, 2011 at 12:48 PM, Vijay Ra <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello, > I am new in ror > I create new application and > i try to connect mysql using rake db:migrate it showing attached error > i am using xampp for mysql > also my database.yml settigs are as follows > > ==================> development: > adapter: mysql2 > encoding: utf8 > reconnect: false > database: mydiary > pool: 5 > username: mydiary > password:mypassword > host: localhost > ==================> > Attachments: > http://www.ruby-forum.com/attachment/5852/error.JPG > > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/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.
ratnadeepdeshmane-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2011-Feb-04 06:09 UTC
Re: Can''t connect mysql db
yml files are very strick about spaces and tabs. Make sure you have space inbetween password: and mypassword. Right now it doesn''t seems to be there. On Fri, Feb 4, 2011 at 11:18 AM, Vijay Ra <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello, > I am new in ror > I create new application and > i try to connect mysql using rake db:migrate it showing attached error > i am using xampp for mysql > also my database.yml settigs are as follows > > ==================> development: > adapter: mysql2 > encoding: utf8 > reconnect: false > database: mydiary > pool: 5 > username: mydiary > password:mypassword > host: localhost > ==================> > Attachments: > http://www.ruby-forum.com/attachment/5852/error.JPG > > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Ratnadeep Deshmane. http://rtdptech.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.
Thank you very much I put space inbetween and its workig again thanx ratnadeepdeshmane-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote in post #979555:> yml files are very strick about spaces and tabs. Make sure you have > space > inbetween password: and mypassword. Right now it doesn''t seems to be > there. > > On Fri, Feb 4, 2011 at 11:18 AM, Vijay Ra <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> encoding: utf8 >> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > Ratnadeep Deshmane. > http://rtdptech.com-- 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.