简体   繁体   English

SQL Server 2014 Express设置

[英]SQL Server 2014 Express Set Up

I have downloaded Microsoft SQL Server Management Studio 2014 Express. 我已下载Microsoft SQL Server Management Studio 2014 Express。 I have set it up and I now need to connect to the server. 我已经设置好了,现在我需要连接到服务器。 I think my server name has something to do with my computer name but its not working. 我认为我的服务器名称与我的计算机名称有关,但它不起作用。 How do I get in? 我怎么进去?

Assuming you installed SQL Server, and not just SSMS please read this: 假设您安装了SQL Server,而不仅仅是SSMS,请阅读:

http://msdn.microsoft.com/en-us/library/ms143531(v=sql.120).aspx http://msdn.microsoft.com/en-us/library/ms143531(v=sql.120).aspx

In all likelihood it was setup with the default instance name of \\SQLExpress. 很可能是使用默认实例名称\\ SQLExpress进行设置。 So to connect, you would enter machinename\\SQLExpress. 所以要连接,你需要输入machinename \\ SQLExpress。

Ex: Office-PC1\\SQLExpress 例如: Office-PC1\\SQLExpress

If you specify MSSQLServer for the instance name, a default instance will be created. 如果为实例名称指定MSSQLServer,则将创建默认实例。 For SQL Server Express, if you specify SQLExpress for the instance name, a default instance will be created. 对于SQL Server Express,如果为实例名称指定SQLExpress,则将创建默认实例。

NB: If you open the "Server Name" drop down in the SSMS "Connect To Server" window, there is a "Browse for more..." option which should help you find your installed server. 注意:如果在SSMS“连接到服务器”窗口中打开“服务器名称”下拉列表,则会出现“浏览更多...”选项,该选项可帮助您找到已安装的服务器。

Assuming you actually installed the db server, and NOT just the management tools, you can always use "localhost" (without the quotes). 假设您实际安装了数据库服务器,而不仅仅是管理工具,您可以始终使用“localhost”(不带引号)。 Have you made sure you are using port 1433? 你确定使用的是1433端口吗? I am not sure if that was a question during the setup. 我不确定在设置过程中这是不是一个问题。

SSMS中的localhost/SQLExpress (SQL Server Management Studio)

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

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