[GH-ISSUE #392] SQL Server different auth modes #114

Closed
opened 2026-03-07 20:44:58 +03:00 by kerem · 9 comments
Owner

Originally created by @hpolonskaya on GitHub (Jun 16, 2021).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/392

Hi, I'm trying to connect Cloudbeaver to SQL server with sql server authentication . it's working with DBeaver,
but how to get it work with cloudbeaver.
Here is snippet what i'm talking about

Screen Shot 2021-06-16 at 12 10 57 PM
Originally created by @hpolonskaya on GitHub (Jun 16, 2021). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/392 Hi, I'm trying to connect Cloudbeaver to SQL server with sql server authentication . it's working with DBeaver, but how to get it work with cloudbeaver. Here is snippet what i'm talking about <img width="401" alt="Screen Shot 2021-06-16 at 12 10 57 PM" src="https://user-images.githubusercontent.com/12278631/122256095-b9a8ce80-ce9c-11eb-849c-1d40db460a23.png">
kerem 2026-03-07 20:44:58 +03:00
Author
Owner

@hpolonskaya commented on GitHub (Jun 18, 2021):

any updates?

<!-- gh-comment-id:864108977 --> @hpolonskaya commented on GitHub (Jun 18, 2021): any updates?
Author
Owner

@uslss commented on GitHub (Jun 21, 2021):

if I understand you right, you can connect to SQL server using SQL Server Authentication by filling in username and password in Authentication block in Connection settings. Could you check it and write back if it works for you.
image

Sorry for the late response.

<!-- gh-comment-id:865090732 --> @uslss commented on GitHub (Jun 21, 2021): if I understand you right, you can connect to SQL server using SQL Server Authentication by filling in username and password in Authentication block in Connection settings. Could you check it and write back if it works for you. ![image](https://user-images.githubusercontent.com/31996417/122781302-57930380-d2b8-11eb-8273-778902a281ac.png) Sorry for the late response.
Author
Owner

@hpolonskaya commented on GitHub (Jun 21, 2021):

Unfortunately it's not working I'm trying to connect with the same credentials using DBeaver ,select from authentication dropdown list -> sql server authentication > connect sucessfull
But clouldbeaver does not have the same dropdown just user/psw
and as result
Error connecting to database:
Connection failed:
The connection to the host emdc2sqm102.media.global.loc, named instance db102 failed. Error: "java.net.UnknownHostException: emdc2sqm102.media.global.loc". Verify the server and instance names and check that no firewall is blocking UDP traffic to port 1434. For SQL Server 2005 or later, verify that the SQL Server Browser Service is running on the host.

Screen Shot 2021-06-21 at 11 59 10 AM

and Here is dbeaver connection test

Screen Shot 2021-06-21 at 12 01 48 PM
<!-- gh-comment-id:865156083 --> @hpolonskaya commented on GitHub (Jun 21, 2021): Unfortunately it's not working I'm trying to connect with the same credentials using DBeaver ,select from authentication dropdown list -> sql server authentication > connect sucessfull But clouldbeaver does not have the same dropdown just user/psw and as result Error connecting to database: Connection failed: The connection to the host emdc2sqm102.media.global.loc, named instance db102 failed. Error: "java.net.UnknownHostException: emdc2sqm102.media.global.loc". Verify the server and instance names and check that no firewall is blocking UDP traffic to port 1434. For SQL Server 2005 or later, verify that the SQL Server Browser Service is running on the host. --------- <img width="1208" alt="Screen Shot 2021-06-21 at 11 59 10 AM" src="https://user-images.githubusercontent.com/12278631/122792510-3dd9c800-d288-11eb-802e-4e2566538f03.png"> and Here is dbeaver connection test <img width="436" alt="Screen Shot 2021-06-21 at 12 01 48 PM" src="https://user-images.githubusercontent.com/12278631/122792846-872a1780-d288-11eb-84fb-16edfe8fabd5.png">
Author
Owner

@hpolonskaya commented on GitHub (Jun 22, 2021):

Hi any updates . Look like it's bug in Cloudbeaver UI for MS SQL connection.

<!-- gh-comment-id:866066014 --> @hpolonskaya commented on GitHub (Jun 22, 2021): Hi any updates . Look like it's bug in Cloudbeaver UI for MS SQL connection.
Author
Owner

@hpolonskaya commented on GitHub (Jun 24, 2021):

any updates on this issue

<!-- gh-comment-id:867800506 --> @hpolonskaya commented on GitHub (Jun 24, 2021): any updates on this issue
Author
Owner

@serge-rider commented on GitHub (Jun 28, 2021):

It looks like your SQL Server instance is not accessible from the machine where CloudBeaver was deployed (UnknownHostException). Host name cannot be resolved.

You need to consult with your network administrator.

<!-- gh-comment-id:869754704 --> @serge-rider commented on GitHub (Jun 28, 2021): It looks like your SQL Server instance is not accessible from the machine where CloudBeaver was deployed (UnknownHostException). Host name cannot be resolved. You need to consult with your network administrator.
Author
Owner

@hpolonskaya commented on GitHub (Jun 28, 2021):

Thank you Serge . it's working one more question.
what about Windows auth mode and the rest which dbeaver is supporting

<!-- gh-comment-id:869819230 --> @hpolonskaya commented on GitHub (Jun 28, 2021): Thank you Serge . it's working one more question. what about Windows auth mode and the rest which dbeaver is supporting
Author
Owner

@kseniiaguzeeva commented on GitHub (Jul 5, 2021):

Regarding your last comment I change your ticket status on a feature request.

<!-- gh-comment-id:874097006 --> @kseniiaguzeeva commented on GitHub (Jul 5, 2021): Regarding your last comment I change your ticket status on a feature request.
Author
Owner

@kseniiaguzeeva commented on GitHub (Jun 6, 2022):

SQL Server and NTLM authentication are available in the latest 22.1.0 release.

<!-- gh-comment-id:1147833495 --> @kseniiaguzeeva commented on GitHub (Jun 6, 2022): SQL Server and NTLM authentication are available in the latest 22.1.0 release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#114
No description provided.