if you are using a Mac, just use "ticket viewer" to create the kerberos token. its typically username@domain for the user name.
How to connect to existing SQL Server in Azure Data Studio 3?
When I attempt to connect to my institution's SQL Server I get this message "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)" then when I disable the Trust Settings I get "Connection failed due to Kerberos error. Help configuring Kerberos is available at https://aka.ms/sqlopskerberos If you have previously connected you may need to re-run kinit." I attempted to follow the Kerberos instructions unsuccessfully.
2 answers
Sort by: Most helpful
-
-
Erin Stellato 651 Reputation points Microsoft Employee
2024-04-24T00:51:49.43+00:00 For TCP error 35 (Nuako, A), if connecting to a docker container, try using the IP address of the container, rather than the container name.
For TCP error 40 (Pavithra Ravi), were you able to connect to the SQL Server previously from that workstation, either with an earlier version of Azure Data Studio, or with another application (e.g. SSMS)? If this is a local SQL install (e.g. SQL Express), do you have Named Pipes enabled?
In all cases, please confirm the version of Azure Data Studio using Help > About and include it, as well as the version of SQL to which you are connecting, in any reply with additional questions.