public static boolean dbConnect(String confName){
		try{
			Map<String,String> confMap = config.get(confName);
			if (confMap != null){
				if (confMap.get("type").equals("db")){
					DataBase dataBase = null;
					switch (confMap.get("base_type")){
						case "mysql": dataBase = new MySQLImpl();
								break;
						case "orcl": dataBase = new OracleImpl();
								break;
						}
					if (dataBase != null) {
						dataBase.setParametersFromConf(confMap);
						dataBase.connect();
						bases.put(confName,dataBase);
						log.info("connected "+confName);
						return true;
					}else {
						log.error("Not suppoted DataBase");
						return false;
					}
				}else {
					log.error("Config type not DB");
				}
			}else {
				log.error("No config with name "+confName);
			}

		}catch(Exception e){
			log.error(e.toString());
		}
		return false;
	}