Add connection URL to connection details info card
Description
Attachments
is blocked by
Activity

Manish Chawla January 6, 2025 at 12:39 PM
This was tested in
Mysql connection details were hidden in
Mongodb connection details are displayed as
Postgresql connection details are displayed as
As per comment , if the connection url has special characters then they will be escaped.
The connection url can be copied by using the copy button to clipboard.
Hence closing this issue, since the scope is completed.

nuna.dionisio September 24, 2024 at 9:53 AM
this should be all inside the input field independent of the size of the string and even though the user might not see it all at once, he can ‘navigate’ the text or copy it

Oksana Grishchenko September 24, 2024 at 9:45 AM(edited)
for non-sharded 5-node psmdb cluster the connection URL could be that long:
mongodb://databaseAdmin:somePASSWORDDDD@mongodb-56u-rs0-0.mongodb-56u-rs0.my-special-place.svc.cluster.local:27017,mongodb-56u-rs0-1.mongodb-56u-rs0.my-special-place.svc.cluster.local:27017,mongodb-56u-rs0-2.mongodb-56u-rs0.my-special-place.svc.cluster.local:27017,mongodb-56u-rs0-3.mongodb-56u-rs0.my-special-place.svc.cluster.local:27017,mongodb-56u-rs0-4.mongodb-56u-rs0.my-special-place.svc.cluster.local:27017
(see the comment)
Is there a way to fit it to the current design?

Oksana Grishchenko September 23, 2024 at 11:02 AM(edited)
Hi !
Questions regarding the ticket:
What is expected as connection URL for
PXC
? Here is the docs how to connect to a PXC cluster, it supposes to runpercona-client
and then use a command likemysql -h <cluster_name>-haproxy -uroot -p'<root_password>'
, so no URL is involved and I’m not sure what is expected here.For
PG
(please correct me if I’m wrong) according to the docs we probably expect to provide thePGBOUNCER_URI
as the mentionedConnection URL
, so users are expected to runpg-client
with thisPGBOUNCER_URI
For
PSMDB
(please correct me if I’m wrong) according to the docs we probably expect the mongosh (mongodb://etc) url as the mentionedConnection URL
. The mongosh url is built differently for sharded and non-sharded clusters, but the idea is the same - users are expected to runpercona-client
and then callmongosh "<connection URL>"
Details
Details
Assignee

Reporter

Add Connection URL to connection details info card and possibility to copy it directly.