Home  >  Article  >  Database  >  What should I do if SQL cannot connect to the local server?

What should I do if SQL cannot connect to the local server?

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-28 17:16:3524598browse

Method: First log in to the client, find "Instance Name Protocol", enable "Named Pipes" and "TCP/IP"; then start "SQL Server"; finally open "SSMS" and select "Database Engine" , "local)\instance name" and "windows authentication", click "Connect".

What should I do if SQL cannot connect to the local server?

The operating environment of this article: Windows 7 system, Dell G3 computer, SQL Server 2008.

sql server 2008 cannot connect to the local server because there is a problem with the protocol inside. The specific solution is as follows:

Open the SQL server configuration manager-->SQL server network configuration- ->The protocol of the instance name (the instance name is SQLEXPRESS).

What should I do if SQL cannot connect to the local server?

Enable Named Pipes and TCP/IP in the SQLEXPRESS protocol.

What should I do if SQL cannot connect to the local server?

Click on the SQL Server service and restart SQL Server (SQLEXPRESS).

What should I do if SQL cannot connect to the local server?

Reopen SQL Server Management Studio, select Database Engine as the server type, fill in the server name (local)\instance name or computer name\instance name (the computer name is your computer Name, the instance name is generally SQLEXPRESS or the instance name created when installing SQL), and select windows authentication for authentication.

What should I do if SQL cannot connect to the local server?

Click the link and you can log in.

What should I do if SQL cannot connect to the local server?

[Recommended learning: SQL video tutorial]

The above is the detailed content of What should I do if SQL cannot connect to the local server?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn