adding congig for mongodb and mysql