警告:无法加载sqljdbc_auth.dll原因:java.library.path中没有sqljdbc_auth [英] WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path

查看:1157
本文介绍了警告:无法加载sqljdbc_auth.dll原因:java.library.path中没有sqljdbc_auth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Ubuntu 12.05并尝试连接到Windows Server 2012以获取数据库

I am using Ubuntu 12.05 and trying to connect to a Windows Server 2012 for a database

我的数据库名称是作业
pc的ip地址是192.160.1.33

my database name is jobs the ip address of the pc is 192.160.1.33

这是托管在1433
但是当我尝试连接它时出现以下错误

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

请建议如何设置。

推荐答案

我认为你有错误的jdbc驱动程序,你在Ubuntu 12.04(没有12.05)。而不是用Windows的旧本机驱动程序(Linux库结束于 .so 而不是 .dll )进行攻击,我建议您停止并使用此Type-4 one 微软。根据定义,类型4驱动程序不使用本机库。

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.

这篇关于警告:无法加载sqljdbc_auth.dll原因:java.library.path中没有sqljdbc_auth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆