[Rails] how to configure rails to use mysql by default (not sqlite3)
Hello,
I am running Mac OS X 10.6.4 and have installed the following:
ruby-1.9.1-p429 (64 bits, I believe!)
RubyGems 1.3.7
Rails 2.3.8
MySQL 5.1.49 (64 bits)
I am now getting an error because sqlite3 is not installed and I've read
that there are issues installing ruby-sqlite3! SO I'm not sure if I
should (or how to) install sqlite3.
A developer suggested I use sqlite3 for testing and mysql for
production, but wouldn't that mean having to convert my sqlite database
to mysql for production? I might just as well always use mysql, no?
Which leads me to the following question: how do I configure rails to
always default to using mysql database instead of sqlite3?
Thank you for your help.
Best regards,
Olivier
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home