| uri = "https://" + str(config.host) + ":" + str(config.port) | uri = "https://" + str(config.host) + ":" + str(config.port) | ||||
| else: | else: | ||||
| uri = "http://" + str(config.host) + ":" + str(config.port) | uri = "http://" + str(config.host) + ":" + str(config.port) | ||||
| client = MilvusClient(uri=uri, user=config.user, password=config.password) | |||||
| client = MilvusClient(uri=uri, user=config.user, password=config.password,db_name=config.database) | |||||
| return client | return client |