I have need to migrate some sqlite3 databases to mysql for a couple django-cms projects at work. Typically in the past I’ve used fixtures in Django to get this done, but I usually have to align the planets and concoct the elixir of life to get the fixtures to migrate properly. It usually has to do with foreign key errors something. This is something that should just be easy, but in my experience with Django, it never is.
This post is a bit of a ‘note to self’. I am tinkering with Vagrant boxes today trying to flesh out some ansible and I need to get the boxes to talk to each other locally. I know about the vagrant multi-machine setup, but I was already partly committed to having 2 individual boxes set up before I discovered it.
So, the trick is, set the network configuration in your Vagrantfile to “private_network”: