您的位置 首页 milvus

milvus 更改用户名密码

 

milvus设置密码 : 连接 

 

 

cat milvus.yaml  | grep security -a10

 

 

old password is not correct:root

 

 

python 连接  milvus 代码


from pymilvus import connections
from pymilvus import utility
'''
autu by baimeidashu.com

https://milvus.io/docs/authenticate.md

'''

def init_milvus () :
    global milvus
    milvus = connections.connect(
            alias='default',
            host='123.1.1.1',
            port='32178',
            user='root',
            password='123456',)

if __name__ == '__main__':
    init_milvus()
    users = utility.list_usernames(using='default')
    print(users)

 

 

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章