Contains scripts for migrating MySQL data to Neo4j Graph database. Before you migrate you need to prepare your Neo4j property graph model and know the schema of your Mysql data.
These migrations have been carefully designed so that running these migrations multiple times does not create extra nodes or relationships.
These scripts are schema dependent so you might need to tweak it for your use case. It was written for our own use case and database schema but it can serve as a good example of how to write a migration script for your MySQL data to import it into a Neo4j graph dataabse.
cd <project-dir>
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
These commands are to be run on the shell in strict sequence for migrations to work perfectly.
python migrate_1_mailing_lists_people.py
python migrate_2_messages.py
python migrate_3_people.py