Code Monkey home page Code Monkey logo

Comments (7)

xiaocai2333 avatar xiaocai2333 commented on June 18, 2024

@AnthonyTsu1984 Do you have a way to connect successfully?

from pymilvus.

xiaocai2333 avatar xiaocai2333 commented on June 18, 2024

@AnthonyTsu1984
For cloud services, there is indeed a bug for adding a connection and then connect. and I will fix it.
You can connect your Milvus as follows:

# 1.
connections.connect(
    uri="https://in01-**********.aws-us-west-2.vectordb.zillizcloud.com:19530",
    user="your_user",
    password="your_password"
)
# 2.
connections.connect(
    uri="https://in01-**********.aws-us-west-2.vectordb.zillizcloud.com:19530",
    token="your_user:your_password"
)
# 3.
connections.connect(
    uri="https://in01-**********.aws-us-west-2.vectordb.zillizcloud.com:19530",
    token="your api-key"
)
#4.
connections.connect(
    host="in01-**********.aws-us-west-2.vectordb.zillizcloud.com:19530",
    port="19530",
    secure=True,
    user='your_user',
    password='your_password'
)

Special thanks to @NicoYuan1986 for his help.

from pymilvus.

xiaocai2333 avatar xiaocai2333 commented on June 18, 2024

/assign @AnthonyTsu1984
By the way.
add_connection only supports adding a link first and does not store your token. So the first method you listed is not supported.
You need to specify your token or user password when creating a connection rather than adding a connection.

from pymilvus.

AnthonyTsu1984 avatar AnthonyTsu1984 commented on June 18, 2024

/assign @xiaocai2333

/assign @AnthonyTsu1984 By the way. add_connection only supports adding a link first and does not store your token. So the first method you listed is not supported. You need to specify your token or user password when creating a connection rather than adding a connection.

Does that mean I cannot include token, user, and password in the alias definition when calling add_connection()?

from pymilvus.

xiaocai2333 avatar xiaocai2333 commented on June 18, 2024

/assign @xiaocai2333

/assign @AnthonyTsu1984 By the way. add_connection only supports adding a link first and does not store your token. So the first method you listed is not supported. You need to specify your token or user password when creating a connection rather than adding a connection.

Does that mean I cannot include token, user, and password in the alias definition when calling add_connection()?

yeah,only uri or address.

from pymilvus.

xiaocai2333 avatar xiaocai2333 commented on June 18, 2024

@AnthonyTsu1984
It has been fixed, please verify.

from pymilvus.

XuanYang-cn avatar XuanYang-cn commented on June 18, 2024

@AnthonyTsu1984 I believe this has been fixed, feel free to reopen this issue if this bug reproduced again

from pymilvus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.