Database password change

Monday, November 25, 2024 4:28:33 PM
  • Posted: Friday, August 14, 2020 12:01 PM
  • 2
Hello,
maybe is a silly question, but where I can find config file to setup mongodb username and password?

We were setup credentials for database on testing server and grandnode can't connect to mongodb.

:)
0
  • Posted: Friday, August 14, 2020 12:38 PM
  • Team
  • 152
Hi,
In App_Data\Settings.txt you will find connection string to the database

Regards
Krzysztof
0
  • Posted: Tuesday, August 18, 2020 9:15 AM
  • 2
Thank you Krzysztof!
Have problem with connection string but adding ?authSource=admin on the end of the string solved connection errors.
0
  • Posted: Friday, November 27, 2020 8:55 AM
  • 10
Krzysztof wrote:
Hi,
In App_Data\Settings.txt you will find connection string to the database

Regards
Krzysztof


Hi,
I am not getting the Settings.txt file on App_Data folder. Where can I change the connection string after deployment?
0
  • Posted: Friday, November 27, 2020 11:15 AM
  • 953
Abdus Salam wrote:
Hi,
Hi,
I am not getting the Settings.txt file on App_Data folder. Where can I change the connection string after deployment?


What do you mean by I'm not getting the Settings.txt file? It doesn't exist? If not, have you ever installed GrandNode? Firstly you should install GrandNode, then you will be able to find the Settings.txt file and change the resource string.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Tuesday, August 30, 2022 10:49 PM
  • 2
Patryk wrote:
Hi,
Hi,
I am not getting the Settings.txt file on App_Data folder. Where can I change the connection string after deployment?

What do you mean by I'm not getting the Settings.txt file? It doesn't exist? If not, have you ever installed GrandNode? Firstly you should install GrandNode, then you will be able to find the Settings.txt file and change the resource string.


1. The filename is "Settings.cfg", not "Settings.txt".
2. There is no login and password there. Where I can find current creds?
0
  • Posted: Monday, December 19, 2022 10:51 AM
  • 11
truezanuda wrote:
Hi,
Hi,
I am not getting the Settings.txt file on App_Data folder. Where can I change the connection string after deployment?

What do you mean by I'm not getting the Settings.txt file? It doesn't exist? If not, have you ever installed GrandNode? Firstly you should install GrandNode, then you will be able to find the Settings.txt file and change the resource string.

1. The filename is "Settings.cfg", not "Settings.txt".
2. There is no login and password there. Where I can find current creds?


Settings.cfg is for GrandNode2. While Settings.txt for first GrandNode. I still remember explored it in 2019, the Settings.txt also doesn't have userpass as default. But you can follow this connection string example by mongodb: https://www.mongodb.com/docs/manual/reference/connection-string/
0
back to top
Filters