On 12 October 2010 09:34, Premanshu Mishra <[email protected]> wrote: > Hi All, > > rake db:create is not working. It is giving an error like > > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > syntax error on line 17, col -1: `' > > My yml file reads like: > > development: > adapter:mysql > encoding:utf8 > reconnect:false > database:news_development > pool:5 > username:root > password: > host:localhost > > There is space at the beginning and end of every line. Password is > blank. I have created a db news_development in mysql.
You need a space after the : on each line as someone else tried to tell you in your previous thread. Colin -- 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.

