Im having a hard time connecting VS for mac to an Azure SQL server through docker. Im running m1 so I've used the azure sql edge.
This is my Docker:
docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=Password.1' -p 1433:1433 --name azuresqledge -d mcr.microsoft.com/azure-sql-edge
and this is my connection string:
"DefaultConnection": "data source=localhost,1433;Database=master;User Id=sa;Password=SPassword.1;"
and Im getting a
Login failed for user 'sa'
when I entered
dotnet ef database update
I tried connecting through Azure Data Studio and I was able to connect the same. Any thoughts what I am missing here?
Thanks