[英]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.