在 Windows 11 中安装 SQL Server 2019 时出错

Posted

技术标签:

【中文标题】在 Windows 11 中安装 SQL Server 2019 时出错【英文标题】:Getting Error Installing SQL Server 2019 in Windows 11 【发布时间】:2022-01-13 03:31:02 【问题描述】:

我正在尝试在 Windows 11 中安装 SQL Server 2019。我收到以下数据库引擎和 SQL Server 复制错误:

Detailed results:
  Feature:                       Database Engine Services
  Status:                        Failed
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  Feature:                       SQL Server Replication
  Status:                        Failed
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

有人可以帮忙吗?

【问题讨论】:

我试过这些链接:***.com/questions/19538089/…***.com/questions/48532323/…***.com/questions/17613094/…blog.sqlauthority.com/2017/01/27/… 【参考方案1】:

根据文档(稍后链接),Windows 11 现在支持 SQL Server 2019。此文档的 revision 发生在 12 月 13 日。 在下面留下原始答案。


以下内容不反映最新文档,此答案发布后已更改。

目前 Windows 11 不支持 SQL Server 2019。这在SQL Server 2019: Hardware and software requirements - Operating system support 中记录了 Windows 11 的遗漏。因此,任何成功尝试使其在此类操作系统上运行的尝试都可能不受支持。

“解决方案”是使用受支持的操作系统(参见上面的链接)。您可以将安装的 Windows 降级回 10 或重新安装。否则,您可以使用具有受支持操作系统的 VM 或使用 [Linux] 容器,例如 Docker(Linux 的 Windows 子系统 (WSL) 为 not supported)。

希望会添加支持,但很可能不会,您必须等待明年某个时候 SQL Server 2022。

【讨论】:

以上是关于在 Windows 11 中安装 SQL Server 2019 时出错的主要内容,如果未能解决你的问题,请参考以下文章

在 windows10 中安装 Chilkat-11 后出错

如何在windows 7系统中安装ie 11浏览器

如何在windows 11中安装WSLG(WSL2)

Windows系统(windows server) 中安装oracle 11gR2

win8.1中安装sql2014 0x800F0906 Error while enabling Windows feature :

在单独的文件夹中安装 SQL Server CE 数据库 [Windows Mobile 6 Smart device ap]