[#52117673]drop databases only if they exist