How to specify the connection to a specific database? #324
Unanswered
garik-pilot
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Can the driver do that? In that case you can pass an driver instance instead of sending config |
Beta Was this translation helpful? Give feedback.
4 replies
-
It would be great 👍
…On Mon, Mar 13, 2023, 2:00 p.m. thebestnom ***@***.***> wrote:
Oh, I thought you meant server list with primary secondary urls like mongo
😅
Yeah you can and it is in the d.ts
I can add one to an example if it is not enough
—
Reply to this email directly, view it on GitHub
<#324 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEMGPWCMZGFW2DDPGVTE6TW35OERANCNFSM6AAAAAAVZEBZCA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I reviewed all examples in neovis package to figure out how to configure the connection to a database like (from example-labels.html):
serverUrl: "bolt://54.209.44.254:33146",
serverUser: "neo4j",
serverPassword: "investigators-spill-future"
How I can point to a specific database at serverUrl: "bolt://54.209.44.254:33146" if I have multiple instances are running in neo4j?
May be it is better to externalize the db connection string like:
export const dbConfg = {
scheme: 'neo4j+s',
host: '54.209.44.254',
port: 33146,
database: 'myneo4jdb',
username: 'readonly',
password: 'readonly',
};
Beta Was this translation helpful? Give feedback.
All reactions