Script for mysql database migration