add support for local databases, without a hostname