Authenticating to a SQL Server instance as a Windows User via JDBC

后端 未结 9 1537
太阳男子
太阳男子 2020-12-06 06:37

I\'m having to support multiple database types for my tenant-enabled web application. Among others, I have successfully supported Microsoft\'s SQL Server, by using the net.s

9条回答
  •  天命终不由人
    2020-12-06 07:37

    This is my NiFi setup for jTDS driver:

    Database Connection URL: jdbc:jtds:sqlserver://192.168.1.189:1433;DOMAIN=domain_name

    I didn't need to add useNTLMv2=true, but most people need to, so if it doesn't work you can try also: jdbc:jtds:sqlserver://192.168.1.189:1433;DOMAIN=domain_name;useNTLMv2=true

    Database Driver Class Name: net.sourceforge.jtds.jdbc.Driver

    Database User: domain_user_name (**without** @domain) Password: domain_password

    Validation query: select 1

提交回复
热议问题