简体   繁体   English

如何使用ODBC驱动程序连接到SQL Server?

[英]How to connect to SQL Server using ODBC driver?

I am trying to open a connection to a Microsoft SQL Server, I opened the ODBC and went to the System DSN->add->selected SQL Server. 我试图打开与Microsoft SQL Server的连接,我打开了ODBC,然后转到系统DSN-> add-> selected SQL Server。 However there are no SQL Servers to connect to. 但是,没有要连接的SQL Server。

This is probably a simple fix, but this is the first time I'm dealing with microsoft SQL Server 这可能是一个简单的修复程序,但这是我第一次使用Microsoft SQL Server

Just type in the name of the SQL Server instance you want to connect to. 只需输入要连接的SQL Server实例的名称即可。 If it's a default instance type the servername. 如果是默认实例,请输入服务器名称。 If it's a named instance type in servername\\instancename. 如果是命名实例,请输入servername \\ instancename。 You'll then be able to configure the DSN as needed. 然后,您将能够根据需要配置DSN。

The control for list of available servers is notoriously unreliable for what is actually available/reachable. 众所周知,可用服务器列表的控制对于实际可用/可访问的内容是不可靠的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用FreeTDS ODBC驱动程序将Linux PHP连接到SQL Server - Using a FreeTDS ODBC driver to connect Linux PHP to a SQL Server 使用ODBC驱动程序13代替ODBC驱动程序11连接到SQL Server 2008 R2 - Using ODBC Driver 13 instead of ODBC Driver 11 to Connect to SQL Server 2008 R2 如何在Rails中连接SQL Server和Linux的Microsoft ODBC驱动程序? - How to connect SQL Server in Rails and Microsoft ODBC driver for linux? 使用适用于SQL Server的新ODBC驱动程序连接到LocalDB - Connect to LocalDB with new ODBC Driver for SQL Server 如何使用FreeTDS ODBC连接到SQL Server - How to connect to SQL Server using FreeTDS ODBC 使用 ActualTech odbc 驱动程序连接到 sql server - Mac 上的 VBA Office 2011 - Connect to sql server with ActualTech odbc Driver - VBA Office 2011 on Mac Lazarus(Pascal)如何使用ODBC或TMSSQLConnection连接到SQL Server? - Lazarus (Pascal) How to connect to SQL Server using ODBC or TMSSQLConnection? 如何使用ODBC将SAP BOBJ连接到Microsoft SQL Server 2012? - How to connect SAP BOBJ to Microsoft SQL Server 2012 using ODBC? 如何使用 R 中的 ODBC 和 DBI 连接到 MS SQL 服务器 - How to connect to MS SQL Server using ODBC and DBI in R 无法使用ODBC连接到SQL Server 2014 - Unable to connect to SQL Server 2014 using ODBC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM