added getHost, getPort, getDbname for db widget