Skip to content

Conversation

@cklogic
Copy link
Contributor

@cklogic cklogic commented Feb 1, 2024

在生产环境中,Milvus通常会开启鉴权和多数据库

本次提交主要解决2个问题:
1、当Milvus开启鉴权之后,需要使用用户名、密码才能连接
Milvus官方文档Enable user authentication
2、当Milvus存在多个database时,需要指定数据库名

本次提交的代码将不影响默认无用户名、密码、数据库名启动,如果填写了MILVUS_USER、MILVUS_PASSWORD、MILVUS_DB_NAME则会在创建客户端的时候传入用户名、密码、数据库名。

@xixihahaliu xixihahaliu merged commit c270e55 into netease-youdao:master Feb 4, 2024
@xixihahaliu
Copy link
Collaborator

Reasonable suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants