Database attach/open.