Skip to content
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

Database connection error caused by "USERNAME" env variable #46

Open
michalismichailidis1999 opened this issue Aug 26, 2022 · 0 comments

Comments

@michalismichailidis1999

I use docker desktop in windows 10, and when I create the container using docker compose the env variable "USERNAME" doesn't override the system's existing env variable "USERNAME" and instead of using the value SA uses the username Windows which then gives a connection error. I was able to fix this when I was testing the application locally by changing config.connect.authentication.options.userName to a hard coded value "SA".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant