未找到数据源名称且未指定默认驱动程序

发布于 2024-08-23 20:59:13 字数 224 浏览 4 评论 0原文

我正在尝试使用 osql.exe -L 连接以列出网络上的服务器。但是,我得到的不是服务器列表,而是以下错误:

[ODBC Driver Manager] Data source name not find and no default driver specified

我不确定导致此问题的原因 - 任何指针导致朝着正确的方向会有帮助。非常感谢!

I am trying to connect to list the servers on my network using osql.exe -L. Instead of a list of servers, however, I get the following error:

[ODBC Driver Manager] Data source name not found and no default driver specified

I'm not sure what's causing this problem - any pointers leading in the right direction will be helpful. Thanks so much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紫轩蝶泪 2024-08-30 20:59:13

DSN 区分大小写,请确保输入正确的名称。它应该与 odbc.ini 文件 (unix) 或“ODBC 数据源管理器”(windows) 中的任何内容相匹配。

The DSN is case sensitive, make sure your putting in the right name. It should match whatever you have in your odbc.ini file (unix) or in the "ODBC Data Source Administrator" (windows).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文