Skip to content

Commit 75cec78

Browse files
docs: clarify both SA_PASSWORD vars must be updated
Update README to mention that both SA_PASSWORD and MSSQL_SA_PASSWORD must be updated in docker-compose.yml when changing the password, matching the fix applied to go-mssqldb PR #317.
1 parent 3407d43 commit 75cec78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.devcontainer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The `setup.sql` script in `.devcontainer/mssql/` is executed automatically when
187187

188188
To change the SQL Server password:
189189

190-
1. Update `MSSQL_SA_PASSWORD` in `docker-compose.yml`
190+
1. Update both `SA_PASSWORD` and `MSSQL_SA_PASSWORD` in `docker-compose.yml` (these must match)
191191
2. Update `SQLCMDPASSWORD` in `devcontainer.json` (both `remoteEnv` and `go.testEnvVars` sections)
192192
3. Update the password in the `mssql.connections` settings in `devcontainer.json`
193193

0 commit comments

Comments
 (0)