I am using Ubuntu 12.05 and trying to connect to a Windows Server 2012 for a database
my database name is jobs the ip address of the pc is 192.160.1.33
which is hosted in 1433 yet 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 advice how to set that.
I think you have the wrong jdbc driver and you're on Ubuntu 12.04 (there is no 12.05). Rather then hacking around with an old native driver for Windows (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 uses no native libraries.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.