Skip to content

Cannot use MSSQL non default instance since Version 1.10.0 #11207

Closed
@FLeven

Description

@FLeven
  • Gitea version (or commit ref): 1.11.1+
  • Git version: 2.25.1
  • Operating system: 2012R2/2016/2019
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • [ x] MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [x ] Not relevant

Description

I am using GiTea 1.10.0 with MSSQL without any problems, DB ist located on MSSQL 2016Sp3. I connect to the DB myip\myinstance and everything works fine.

If I switch to a 1.11.x Version, I can't connect to MS Sqlserver anymore and I can't install a new Gitea Instanze on my Microsoft SQL Server (Different versions tested).

In the Installer you can clearly see, that the parsing of the connectionstring has changed and it is not possible to pass "ipserver\instanzname" anymore.

It will only accept the "ip:port" part or the "/instanzname" part of the connectionstring and not the full "ip\instanzname" string.

Log:
Error: Unable to open tcp connection with host '127.0.0.1:1433'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions