Skip to content

Commit

Permalink
update sqlcmd to new location: /opt/mssql-tools18 (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid authored Sep 16, 2024
1 parent 92bc1f0 commit 9068f23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $mssqlPod = kubectl get pods -n mssql -o jsonpath='{.items[0].metadata.name}'
# Use sqlcmd.exe to create a database named "DurableDB".
# Replace 'PLACEHOLDER' with the password you used earlier
kubectl exec -n mssql $mssqlPod -- /opt/mssql-tools/bin/sqlcmd -S . -U sa -P "PLACEHOLDER" -Q "CREATE DATABASE [DurableDB] COLLATE Latin1_General_100_BIN2_UTF8"
kubectl exec -n mssql $mssqlPod -- /opt/mssql-tools18/bin/sqlcmd -S . -U sa -P "PLACEHOLDER" -Q "CREATE DATABASE [DurableDB] COLLATE Latin1_General_100_BIN2_UTF8"
```

?> If you have an old version of the database already deployed, you may want to first delete that one using `DROP DATABASE [DurableDB]` SQL command. This should only be necessary when using alpha builds of the Durable Task SQL provider. Newer builds will take care of database schema upgrades automatically.
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ docker run --name mssql-server \
# wait a few seconds for the container to start...
# create the database with strict binary collation
docker exec -d mssql-server /opt/mssql-tools/bin/sqlcmd \
docker exec -d mssql-server /opt/mssql-tools18/bin/sqlcmd \
-S . \
-U sa \
-P "$pw" \
Expand Down
2 changes: 1 addition & 1 deletion test/setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ docker ps

# Create the database with strict binary collation
Write-Host "Creating '$dbname' database with '$collation' collation" -ForegroundColor DarkYellow
docker exec -d mssql-server /opt/mssql-tools/bin/sqlcmd -S . -U sa -P "$pw" -Q "CREATE DATABASE [$dbname] COLLATE $collation"
docker exec -d mssql-server /opt/mssql-tools18/bin/sqlcmd -S . -U sa -P "$pw" -Q "CREATE DATABASE [$dbname] COLLATE $collation"

0 comments on commit 9068f23

Please sign in to comment.