Unable to connect to local SQL Server on Windows 11 #38777
-
DescriptionTrying to connect to SQL Server through Microsoft SQL Server driver ends with error message: DBeaver VersionCommunity edition 24.3.1 Operating SystemWindows 11 Pro 24H2 Database and driverSQL Server 16.0.1135.2 Steps to reproduce
Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
|
Hi, @pandenista1970. I see that you specified the host as |
Beta Was this translation helpful? Give feedback.
-
|
Yes, it's a local database. It doesn't work either if I use my computer name as a server. |
Beta Was this translation helpful? Give feedback.
-
|
if your sql server is installed as a named instance, you must define it in host, for example: |
Beta Was this translation helpful? Give feedback.
-
|
If I use this, it fails on another error message (if the name of my instance is XXX): |
Beta Was this translation helpful? Give feedback.
-
|
Check if you can connect via SSMS and what connection properties you use there (windows auth or etc). |
Beta Was this translation helpful? Give feedback.
-
|
As I wrote before in the description everything works well in SSMS. I used the same configuration. The problem must be somewhere in the driver. |
Beta Was this translation helpful? Give feedback.
-
|
Hello @pandenista1970, Is the issue still relevant to you? Can you please provide log files? You can find instructions here: https://github.com/dbeaver/dbeaver/wiki/Log-files |
Beta Was this translation helpful? Give feedback.
-
|
It's been a while since there has been an update here. Please let me know if the issue is still present and provide additional information. |
Beta Was this translation helpful? Give feedback.
-
|
Thougth I install regularly new versions, there is no progress in this issue - it fails with the same error messages. I sent the error logs through e-mail but I add it here, too. |
Beta Was this translation helpful? Give feedback.
-
|
Hello @pandenista1970 . I reproduce your issue. But the issue is not on DBeaver's side. You should open SQL Server Management Studio (SSMS), go to SQL Server Network Configuration, and enable TCP/IP (it is disabled by default!). After that restart the SQL server Finally, go to Dbeaver and choose Windows authentication. Was it helpful for you? Please let me know |
Beta Was this translation helpful? Give feedback.




Hello @pandenista1970 . I reproduce your issue. But the issue is not on DBeaver's side. You should open SQL Server Management Studio (SSMS), go to SQL Server Network Configuration, and enable TCP/IP (it is disabled by default!). After that restart the SQL server
Finally, go to Dbeaver and choose Windows authentication.
Was it helpful for you? Please let me know