If mongoDB database exists, escape data transfering