ch11-Logging and Monitoring STARTUP_MODE = "OnPremises" Run after Sql Container login error #214
-
Hi, can you please help me solve the problem I'm having? Select "Codebreaker.AppHost:OnPremises" setting after, run it, Codebreaker.GameAPIs[0] has error: See Sql Container logs on docker: Login failed for user 'sa'. Reason: Failed to open the explicitly specified database 'CodebreakerSql'. [CLIENT: 192.168.215.1], maybe it's missing ef core Migrations files in project Codebreaker.GameAPIs? If true reason of this, how to generate them? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@kssoftwangwg The reason looks like the password for the sa account. In case the sa account was configured differently, or random before (this is done without specifying a password). I hope this helps. |
Beta Was this translation helpful? Give feedback.
@kssoftwangwg The reason looks like the password for the sa account. In case the sa account was configured differently, or random before (this is done without specifying a password).
Delete the volume and start the application again. You can delete the volume using the Docker desktop, or with the command line
docker volume
.I hope this helps.
I'm moving this to the discussions.