www.tutorialspoint.com Forum Index
Register FAQMemberlistUsergroupsTutorials PointLog in
Reply to topic Page 1 of 1
Configuring database.yml problems.
Author Message
Reply with quote
Post Configuring database.yml problems. 
First of all, forgive my english writing, cause I'm not a native english speaker (Brazilian) and thank's for the Ruby on Rails Tutorial. I'm liking it a lot!

My question is about the setup ou database.yml, I didn't understand if I have to edit the database.yml manualy coping the code example:

"development:
adapter: mysql
database: library_development
username: root
password: [password]
host: localhost
test:
adapter: mysql
database: library_test
username: root
password: [password]
host: localhost
production:
adapter: mysql
database: library_production
username: root
password: [password]
host: localhost"

over the text that came with the file and save with the same extension, or do another thing.

I copied over it, and then I tryed to create the Active Record files, but, I've got a list of errors.

But when I tryed to make the Active Record files without changing de .yml file, it worked well.

I don't know If I can progress, or the .yml has to be done first. At this case, can you explain me better the process?

Just to inform, my mySQL is configurated and working well to and all the other steps were done.

Thank's for any help![/img]

View user's profile Send private message MSN Messenger
Reply with quote
Post Hello... 
Hello, is that anybody in there?

View user's profile Send private message MSN Messenger
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum