For many years now I have struggled with the same visual bug in the query window. It is obscuring my query with some sort of black bar:
[BUG] Visual bug in query window
Yes that's a known issue, which is worst when you use a theme like in your case.
The v13 preview build does not have that issue as far as I know. On top, it replaces these style themes with an automatic dark/light switcher.

You can download that v13 preview from the download page.
However, there are reasons why it is still a preview, not a production release - at least the Windows binary. But I am using it myself at work for over half a year now, and it's really robust.
This is what happens if I change to the only supported method (TCP/IP): [Window Title] Error
[Main Instruction] Connection failed
[Content] SQL Error (0): TMSSQLConnection : Error 20009 : Unable to connect: Adaptive Server is unavailable or does not exist (localhost)
[OK]
[Footer] Find some help on this error (=> duckduckgo.com)
MS SQL support is one of the incomplete features I mentioned above.
The error you got is solvable, here's a solution which worked in my case: https://wiki.freepascal.org/mssqlconn#Error_20009_:_Unable_to_connect:_Adaptive_Server_is_unavailable_or_does_not_exist
Please login to leave a reply, or register at first.

