-
Notifications
You must be signed in to change notification settings - Fork 261
Home
NateW edited this page Apr 22, 2012
·
21 revisions
- In the Gemfile
gem "mysql"
- Add a database to the config/database.yml
wordpress:
adapter: mysql
encoding: utf8
database: obtvse_example
username: my_user
password: my_pass
host: localhost
- Finally it could be called from the command line…
rake wordpress:migrate_wordpress[source_db, destiny_db]
That's it :-)
For an easier way to sync up local and heroku databases, use the Taps gem. http://devcenter.heroku.com/articles/taps
If your blog on Heroku does not update with new edits, it may be cached in Varnish on Heroku. You must issue another push to Heroku to clear the Varnish cache and see your changes.
Feel free to add your Obtvse blog to the list: