-
Hi, I would like to know if Active Directory authentication is some what supported for SQL Server connection ? Thanks for the good work ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I actually found how to this in my environment.
I was trying to use Integrated Security=SSPI in the config but didn't work and when I tried without specifying anything it worked :) |
Beta Was this translation helpful? Give feedback.
-
Hi @boutaga, my experience with modern Windows and AD is limited, and I don't have any Windows-based server environment at hand to recommend anything. But I'd follow this way:
As for Windows service option, in the readme you can find a quick and dirty way to run sql_exporter as a service. The better option would be to use NSSM (https://nssm.cc), which proved to work here. Sadly, the solution was never shared. 🤷♂️ UPD: I see you found the solution. Thanks for sharing it! 👍 I'll use this information when I begin creating a documentation site. Cheers! :) |
Beta Was this translation helpful? Give feedback.
I actually found how to this in my environment.
data_source_name: 'sqlserver://localhost:1433'
I was trying to use Integrated Security=SSPI in the config but didn't work and when I tried without specifying anything it worked :)