Assuming you are in the root of your project in a terminal session $ nano config/database.yml
Modify this section as necessary development: adapter: mysql database: [enter an existing db name] username: [login] password: [password] host: [server or localhost] Ctrl+o -> Enter to save changes Ctrl+x -> Quit On Jun 19, 5:13 pm, Niketh Kumat <[email protected]> wrote: > E. Litwin wrote: > > Make sure you use a color, not a period -> rake db:migrate > > > Have you setup your database.yml file to point to a Mysql server? > > > On Jun 19, 5:00 pm, Niketh Kumat <[email protected]> > > May I Know how we setup database.yml. Sir I have used this command to > configure database.yml as in this way.. $ vim > /configure/database.yml..but i am unable to access the contents of > database.yml file. > Can u please ezplain the steps how to read the contents of database.yml. > and after that create a database > > Dont mind Sir I am new to Linux and its getting me a bit tough to access > the command prompt > -- > Posted viahttp://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 [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 -~----------~----~----~----~------~----~------~--~---

