Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Apache Airflow can not connect to mssql 2008

avatar
Explorer

Hi team,

I update airflow to v2.6.3, and find I can't connect to mssql 2008 by using JDBC.

Following are my setting:

  • Docker Desktop:v4.19.0
  • airflow:v2.6.3
  • JAVA:openjdk-11-jdk
  • JDBC Driver:jtds-1.3.1.jar
  • Connection URL:jdbc:jtds:sqlserver://xxx.xxx.xx.xx:1433/xxxx
  • Driver Path:/usr/local/airflow/jars/jtds-1.3.1.jar
  • Driver Class:net.sourceforge.jtds.jdbc.Driver

airflow mssql connect.png

 

The connection was failed.

 

airflow docker mssql connect failed.png 

I wonder why the message show the connection string as below:

 

 

 

jdbc://jdbc:jtds:sqlserver:

 

 

why not only

 

 

jdbc:jtds:sqlserver:

 

 

Any help will be appreciated, thanks!

 

 

 

0 REPLIES 0