connect to ext DB