Skip to content

Commit

Permalink
Update mssql.md
Browse files Browse the repository at this point in the history
Fixed MSSQL docs now that MSSQL is no longer the default DB tech.
  • Loading branch information
Dartanlla committed May 27, 2024
1 parent 1e19be2 commit fbb3e9d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/getting-started/database-setup/mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ nav_order: 1

[MSSQL](https://www.microsoft.com/de-de/sql-server/sql-server-2019) is a suite of database software published by Microsoft. It includes a relational database engine, which stores data in tables, columns and rows.

## Using MSSQL as an alternative to PostgreSQL
Open src/.env.
Rem out this line using # like this:
```
# DATABASE_CONNECTION_STRING="Host=host.docker.internal;Port=5432;Database=openworldserver;Username=postgres;Password=${DATABASE_PASSWORD};"
```
Unrem out this line by removing the # in front of the line like this:
```
DATABASE_CONNECTION_STRING="Server=host.docker.internal;Database=OpenWorldServer;User Id=SA;Password=${DATABASE_PASSWORD};ConnectRetryCount=0"
```
Replace the value in DATABASE with mssql like this:
```
DATABASE='mssql'
```

## Update database version

1. Open SQL Server Management Studio or Azure Data Studio and connect to localhost with the following credentials.
Expand Down Expand Up @@ -71,4 +86,4 @@ nav_order: 1
SELECT TOP 1 CustomerGUID FROM Customers
```

[Next: OWS Starter Project](starter-project){: .btn .btn-outline }
[Next: OWS Starter Project](starter-project){: .btn .btn-outline }

0 comments on commit fbb3e9d

Please sign in to comment.