Comments (7)
@AnthonyTsu1984 Do you have a way to connect successfully?
from pymilvus.
@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.
/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.
/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.
/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
, andpassword
in the alias definition when callingadd_connection()
?
yeah,only uri or address.
from pymilvus.
@AnthonyTsu1984
It has been fixed, please verify.
from pymilvus.
@AnthonyTsu1984 I believe this has been fixed, feel free to reopen this issue if this bug reproduced again
from pymilvus.
Related Issues (20)
- [Bug]: [milvus_client][milvus] The error is not consistent with other API when collection name is not valid for describe_alias HOT 2
- [Bug]: [milvus_client] The state is not proper when get the load state of the non-exist partition HOT 2
- [Bug]: [milvus_client][as design] Create "AUTOINDEX" failed on scalar field failed with error message "index type not match: invalid parameter[expected=STL_SORT][actual=AUTOINDEX]"" HOT 3
- [QUESTION]: Import has failed when using BulkWriter() API. HOT 1
- Getting exception when trying to delete entity in Milvis vector database using pymilvus HOT 2
- [Bug]: [Milvus 2.3.7-GPU] Fail to Query HOT 1
- [Bug]: Failed to get file size for bulk insert API HOT 4
- [Bug]: [mmap] Enable mmap for index through alter_index and report an error HOT 5
- [Bug]: [milvus_client] The result is empty for describe_role HOT 4
- [Bug]: Enhance sdk's side params for groupby
- [Bug]: [milvus_client] Create a collection will take about 3 seconds on average HOT 1
- [Bug]: Too much retry for unimplemented error HOT 3
- [Bug]: operations missing param check
- [Bug]: MilvusException: <MilvusException: (code=2, message=Fail connecting to server on localhost:19530. Timeout)> HOT 1
- [Bug]: [milvus_client] "partition_key_field" does not take effect for self defined collection creation HOT 3
- [Bug]: [milvus_client] Failed to enable dynamic field for an existing non-dynamic field when not specifying it in the scheme before HOT 4
- [QUESTION]: conection ERROR HOT 1
- [Bug]: iterator cannot handle primary keys with "\n" or "\t" HOT 1
- [Bug]: `server_pem_path` is not working without `server_name` when using `connect()` HOT 3
- [FEATURE]: Support clustering key in create collection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymilvus.