Replaces mongo with mysql