WARNING: Error loading sqljdbc_auth.dll: no sqljdbc_auth in java.library.path
I am using Ubuntu 12.05 and trying to connect to Windows Server 2012 for a database
my database name is job computer ip address is 192.160.1.33
which is posted in 1433 but when I try to connect it gives the following error:
WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path
Please advise how to install this.
+3
source to share
1 answer
I think you have the wrong jdbc driver and are on Ubuntu 12.04 (no 12.05). Rather than hack the old Windows driver (Linux libraries end in .so
not .dll
), I suggest you stop and use this Type-4 one from Microsoft. By definition, a Type 4 driver does not use native libraries.
0
source to share