简体   繁体   English

SQL Server 安装 - 什么是安装媒体文件夹?

[英]SQL Server Installation - What is the Installation Media Folder?

I am installing SQL Server 2008. I have installed .NET framework 3.5.我正在安装 SQL Server 2008。我已经安装了 .NET Framework 3.5。 Then I got folder SQL Server 2008 and performed following steps-然后我得到文件夹 SQL Server 2008 并执行以下步骤-

  1. I clicked configuration Tools.我点击了配置工具。
  2. Then I clicked SQL Server Installation Center.然后我单击 SQL Server 安装中心。
  3. I clicked "Installation" hyperlink on left side.我单击左侧的“安装”超链接。
  4. Then I clicked "New SQL server stand-alone installation or add features to an existing installation"然后我单击“新的 SQL 服务器独立安装或向现有安装添加功能”
  5. Then I got a window "Browse for SQL server Installation Media"然后我得到一个窗口“浏览 SQL 服务器安装媒体”

Which folder should I choose?我应该选择哪个文件夹? Or is there any other method to install SQL Server?或者还有其他安装 SQL Server 的方法吗?

For the SQL Server 2017 (Developer Edition) installation, I did the following:对于SQL Server 2017 (Developer Edition)安装,我做了以下操作:

  1. Open SQL Server Installation Center打开SQL Server Installation Center
  2. Click on Installation点击Installation
  3. Click on New SQL Server stand-alone installation or add features to an existing installation单击New SQL Server stand-alone installation or add features to an existing installation
  4. Browse to C:\SQLServer2017Media\Developer_ENU and click OK浏览到C:\SQLServer2017Media\Developer_ENU并单击OK

If you've downloaded SQL from the Microsoft site, rename the file to a zip file and then you can extract the files inside to a folder, then choose that one when you "Browse for SQL server Installation Media"如果您从 Microsoft 站点下载了 SQL,请将文件重命名为 zip 文件,然后您可以将其中的文件解压缩到文件夹中,然后在“浏览 SQL 服务器安装媒体”时选择该文件夹

SQLEXPRADV_x64_ENU.exe > SQLEXPRADV_x64_ENU.zip SQLEXPRADV_x64_ENU.exe > SQLEXPRADV_x64_ENU.zip

7zip will open it (standard Windows zip doesn't work though) 7zip 会打开它(虽然标准的 Windows zip 不起作用)

Extract to something like C:\SQLInstallMedia解压到 C:\SQLInstallMedia 之类的东西

You will get folders like 1033_enu_lp, resources, x64 and a bunch of files.你会得到像 1033_enu_lp、resources、x64 和一堆文件这样的文件夹。

If you are using an executable,如果您使用的是可执行文件,

  • just run the executable (for example: "en_sql_server_2012_express_edition_with_advanced_services_x64.exe")只需运行可执行文件(例如:“en_sql_server_2012_express_edition_with_advanced_services_x64.exe”)
  • Navigate to the "options" tab导航到“选项”选项卡
  • Copy the "Installation Media Root Directory" (should look something like the below snipping)复制“安装媒体根目录”(应该类似于下面的截图)
  • Paste it into the open "Browse for SQL server Installation Media" window将其粘贴到打开的“浏览 SQL 服务器安装媒体”窗口中

在此处输入图像描述

Save yourself the hastle of renaming and unzipping etc.!省去重命名和解压缩等的麻烦!

For the SQL Server 2019 (Express Edition) installation, I did the following:对于 SQL Server 2019 (Express Edition) 安装,我执行了以下操作:

  1. Open SQL Server Installation Center打开SQL Server Installation Center
  2. Click on Installation点击Installation
  3. Click on New SQL Server stand-alone installation or add features to an existing installation单击New SQL Server stand-alone installation or add features to an existing installation
  4. Browse to C:\SQL2019\Express_ENU and click OK浏览到C:\SQL2019\Express_ENU并单击OK

While installing SQL Server, it extracts contents to temp folder under C directory.在安装 SQL Server 时,它会将内容提取到 C 目录下的 temp 文件夹中。 You can copy that folder after extraction finishes and then use that one for browsing您可以在提取完成后复制该文件夹,然后使用该文件夹进行浏览

Check in Administration Tools\Services (or type services.msc in the console if you a service named SQL Server (SQLEXPRESS). If you do then it is installed.签入管理工具\服务(如果您是名为 SQL Server (SQLEXPRESS) 的服务,则在控制台中键入 services.msc。如果您这样做,则安装它。

From Visual Studio open Server Explorer (menu View\Server Explorer or CTRL + W, L).从 Visual Studio 打开服务器资源管理器(菜单 View\Server Explorer 或 CTRL + W、L)。 Right click Data Connections and choose Create New SQL Server Database.右键单击数据连接并选择创建新的 SQL Server 数据库。 After that create tables and stuff...之后创建表格和东西......

If you want the Management Studio to manage the server you must download and install it from:如果您希望 Management Studio 管理服务器,您必须从以下位置下载并安装它:

http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en

I ran into this just now with SQL Server 2014 SP1.我刚刚使用 SQL Server 2014 SP1 遇到了这个问题。 The installer gave me the exact same problem and I followed suggestions from other answers to this question, but it got me nowhere.安装程序给了我完全相同的问题,我遵循了这个问题的其他答案的建议,但它让我无处可去。

In the end I figured out that I needed to download and install SQL Server 2014 first, and then apply SP1 to it.最后我发现我需要先下载并安装 SQL Server 2014,然后再应用 SP1。 (doh) (多哈)

我必须选择文件夹C:\SQL2019\Express_ENU才能工作。

For SQL Server 2017对于 SQL Server 2017

Download and run the installer, you are given 3 options:下载并运行安装程序,您有 3 个选项:

  1. Basic基本的
  2. Custom风俗
  3. Download Media <- pick this one!下载媒体 <- 选择这个!

    • Select Language选择语言
    • Select ISO选择 ISO
    • Set download location设置下载位置
    • Click download点击下载
    • Exit installer once finished完成后退出安装程序
  4. Extract ISO using your preferred archive utility or mount使用您喜欢的存档实用程序提取 ISO 或挂载

Problem is about too long setup file name.问题是安装文件名太长。 Change setup.exe parent folder name(short a name).更改 setup.exe 父文件夹名称(简称)。 And try it!.试试吧!

对我来说,问题是我没有以管理员身份运行安装程序,在以管理员身份运行安装程序后,消息消失,系统提示我安装并继续进程。

I downloaded from https://my.visualstudio.com/Downloads我从https://my.visualstudio.com/Downloads下载

It gave me an iso file (en_sql_server_2017_standard_x64_dvd_11294407.iso)它给了我一个iso文件(en_sql_server_2017_standard_x64_dvd_11294407.iso)

I had to double click on it and then it gave me an E: drive on my computer.我不得不双击它,然后它在我的电脑上给了我一个 E: 驱动器。

Then I was able to select the E: drive when it asked for the Installation Media location.然后,当它询问安装介质位置时,我能够选择 E:驱动器。

I found this one without any solutions.我发现这个没有任何解决方案。 I am using SQL server 2019. you can do the following:我正在使用 SQL Server 2019。您可以执行以下操作:

  1. download the sql server 2019 from [here]https://www.microsoft.com/en-us/sql-server/sql-server-downloads从 [这里]https://www.microsoft.com/en-us/sql-server/sql-server-downloads下载 sql server 2019

  2. open the installer.exe and choose the Download media option打开 installer.exe 并选择下载媒体选项在此处输入图像描述

  3. choose the iso option选择iso选项在此处输入图像描述

  4. after a while you will get a .iso file extract it in a folder it will give you file like this过了一会儿,你会得到一个 .iso 文件,将它解压到一个文件夹中,它会给你这样的文件在此处输入图像描述

  5. the folder that you had extracted in it is the folder to be chosen hence it is the "Browse for SQL server Installation Media" target您在其中提取的文件夹是要选择的文件夹,因此它是“浏览 SQL 服务器安装媒体”目标

hope that this helps you希望这对你有帮助

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

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