dont connect db when in proxy mode