Use the `host' and `port' directives when using a zend adapter in DbTool

fixes #7781
fixes #7798