Half mirgate to mysql database.