Chiran-Gajula
New Contributor III

Hi Saubhik,

  • Try copying the cacerts file to JDK (Eg: ~\OpenJDK<version>\lib\security) this will help ssl on connectivity which might related to 401 error.
  • Set PATH (Eg: PATH=~\OpenJDK<version>\bin;%PATH%)

  • Then try this jdbc format :
    - jdbc:databricks://<hostname>:443/default;transportMode=http;ssl=1;httpPath=<Full path for sql protocal>;AuthMech=3;UID=token;PWD=
  • Set correct Java home if you have multiple versions (Eg: set JAVA_HOME=~\OpenJDK<version>)

 

G.Chiranjeevi