> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/dataserver/dataserver.md).

# DataServer

<mark style="color:green;">Basic connection configuration for the DataServer: which database to use (via ODBC) and which port to listen on for GameServer/JoinServer connections.</mark>

<mark style="color:blue;">Ini, TOML</mark>

```
[DataServerInfo]
DataServerODBC = "Name of the ODBC Data Source Name (DSN) configured in Windows that points to the MU database"
DataServerPort = "TCP port where the DataServer listens for connections from the GameServer/JoinServer"
```

### <mark style="color:yellow;">Notes</mark>

* `DataServerODBC` must match the name of an ODBC DSN already created in Windows (Control Panel → Administrative Tools → ODBC Data Sources) — the DataServer does not connect directly to the database; it goes through this DSN.
* The keys `DataServerUSER` and `DataServerPASS` are also accepted (though they do not appear in the default file) and are used if the DSN requires its own username/password instead of Windows authentication.
* If `DataServerPort` does not exist in the file, the default port used is `55960`.
