return null instead of throw exception for not exist database