ruby on rails 3 - Connecting to a mysql db using RoR 3, sqlite3 -


surely newb question learning ror , can't find simple answer relatively simple need.

i want use sqlite3 app's database, connect mysql database return data.

i've tried install gem mysql, won't install whatever reason. tried use mamp mysql lib rejected well.

using: - rails 3 - ruby 1.9 - mac os x snow leopard

any in matter appreciated!

check out gem mysql2; in readme, section entitled "usage" may helpful you.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -