2

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
  • 2
    "Silently" dropping database and importing in from scratch isn't an option (can be fast and easy when using mysqldump | mysql)? Commented Feb 3, 2012 at 11:41

1 Answer 1

2

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:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.