Can't connect mysql db

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

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 [email protected] wrote:

encoding: utf8

.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Ratnadeep Deshmane.
http://rtdptech.com

Thank you very much
I put space inbetween and its workig

again thanx

[email protected] 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 [email protected] wrote:

encoding: utf8

.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Ratnadeep Deshmane.
http://rtdptech.com

gem install mysql, maybe you forget it.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs