Reputation: 6321
I'm trying to get started in the Rails word here after the 3.0 upgrade, and it seems mysql support has been stripped out in favor of sqlite. After spending hours trying to install the mysql2 gem and failing I'm going to try and develop in sqlite, but are people really using that for production?
I'm just about ready to give up and do this project in PHP, but I really want to give rails a shot. Any help or advice is appreciated.
Upvotes: 0
Views: 112
Reputation: 83680
No. Sqlite3 is good for development and for standalone apps.
For web development most popular databases are: MySQL, PostgreSQL. Also there is some nosql databases such as MongoDB and CouchDB
Upvotes: 0
Reputation: 1439
In production people use different ones based on the requirements and hosting servers.
I use heroku.com to host my proudction applications and heroku uses postgres by default.
But I guess more developers still use MySql in production because of its ease of use and non strict sql grammer implementation.
I have even seen really big applications that are run using oracle.
There are few developers who use sqlite in production also esp if they have very low traffic.
Go with sqllite for development and once you are dene with development and if you follow the rails convention like db:seed and migrations it will be pretty easy to move to any database as you want when the application is ready for production.
Upvotes: 1
Reputation: 10103
MySQL is still very common. The mysql2 gem is in vogue and should not be terribly difficult to install. Perhaps open a new question with your installation problems.
If you are interested in alternatives to MySQL, ask on programmers.
Except in certain narrow circumstances, don't plan on using SQLite in production. See https://stackoverflow.com/questions/3630/sqlite-vs-mysql for more discussion.
Upvotes: 1