Check to see if the database exists before drop