I'm wondering how I could populate my development SQLite database with my values from the production server (MySQL) in an easy way. Is there a nice "railsy" way for doing this? (capistrano or something like that maybe?)
1 Answer
You can use the following script to convert mysqldump format to sqlite3: script to convert mysql dump sql file into format that can be imported into sqlite3 db
Then just take a look at the following articles to write your own capistrano tasks:
mysqldump | mysql)?