mirror of
https://github.com/RADar-AZDelta/Rabbit-in-a-Blender.git
synced 2026-03-23 20:37:03 +00:00
[GH-ISSUE #91] SQL Server: can't connect to named instance with RiaB #53
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
experiment
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RADar-AZDelta/archived-Rabbit-in-a-Blender#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rgoesseye on GitHub (Jul 29, 2024).
Original GitHub issue: https://github.com/RADar-AZDelta/Rabbit-in-a-Blender/issues/91
When using a named instance I can't connect to the database server in RiaB, this could be due to using a python module in RiaB which doesn't support named instances connections.
In the image above you can see the error that RiaB gives about being unable to connect. I tried different ways to write the server and the named instance -> (server//named_instance, server/named_instance, server\named_instance, ...) but it didn't work.
@JensCardon commented on GitHub (Jul 29, 2024):
Riab connects to the database server using a sql authentication connection string, I don't think named instances are supported.
@pjlammertyn commented on GitHub (Aug 22, 2024):
This seems to be an issue with the pymssql package.
My tests confirm this:

@pjlammertyn commented on GitHub (Aug 22, 2024):
A possible solution could be not setting the port, when it is a named instance.
The downside for this, is that named instances can only sit on port 1433.