# Error during Gitea setup with MSSQL in Windows 7

**URL:** <https://forum.gitea.com/t/error-during-gitea-setup-with-mssql-in-windows-7/723>\
**Category:** Install/Maintain/Configure\
**Created:** [November 27, 2018, 9:37am UTC](https://forum.gitea.com/t/error-during-gitea-setup-with-mssql-in-windows-7/723 "2018-11-27T09:37:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![loshnee](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@loshnee](https://forum.gitea.com/u/loshnee)\
**Post date:** [November 27, 2018, 9:37am UTC](https://forum.gitea.com/t/error-during-gitea-setup-with-mssql-in-windows-7/723/1 "2018-11-27T09:37:00Z")

</div>

Hi everyone,

I am trying to setup gitea in Windows 7 using a MSSQL (Microsoft SQL Server 2014 (SP3) Developer Edition) database.

During Initial Configuration of Gitea I hit “The database settings are invalid: Login error: read tcp xxx.xx.x.xx:52449-\>xxx.xx.x.xxx:1433: wsarecv: An existing connection was forcibly closed by the remote host.” error.

How to fix this error?
