-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection String Breaks Between Executions Due to .WithDataVolume() #3669
Comments
@davidfowl Sorry! I searched here before opening, but I did not find it. Thanks. |
The workaround is to specify a password as a parameter |
@davidfowl, can you point out some examples or documentation that shows how to set the password? Probably it is obvious, but I am new to the .NET world and am on the learning curve getting used to Microsoft documentation. I really appreciate your help! Thanks |
Wrote something here: |
We should document this as a known issue. |
Good job, .WithDataVolume() can pass the database account password validation properly now. |
This was fixed in 8.1 |
I am attaching a volume to PostgreSQL using the following code snippet:
However, my service is unable to connect to the database, resulting in the following error:
The connection succeeds when I remove the
.WithDataVolume();
line. It appears that the password used in the connection string is being generated anew with each execution, instead of using the password that was generated when the database was initially created.The text was updated successfully, but these errors were encountered: