简体   繁体   English

无法连接到SQL数据库服务器

[英]Unable to connect to sql database server

Yesterday, I installed SQL Server 2008 on my PC. 昨天,我在PC上安装了SQL Server 2008。 It was working perfectly, but now when I am trying to connect to the database engine, it generates this error: 它运行良好,但是现在当我尝试连接到数据库引擎时,它会生成此错误:

在此处输入图片说明

Try using this. 尝试使用这个。
例

This will only work if you are trying to connect to the database on the same machine. 仅当您尝试连接到同一台计算机上的数据库时,这才起作用。 If you are writing software to connect to a remote database, you will need to work out what the connection string needs to be. 如果要编写连接到远程数据库的软件,则需要确定连接字符串的内容。 This website may help you. 该网站可能会为您提供帮助。 ConnectionStrings 的ConnectionStrings

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM