繁体   English   中英

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

[英]Getting Error Installing SQL Server 2019 in Windows 11

我正在尝试在 Windows 11 中安装 SQL Server 2019。数据库引擎和 SQL 服务器复制出现以下错误:

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

有人可以帮忙吗?

SQL Server 2019 目前在 Windows 11 上不受支持。 这在SQL 服务器 2019:硬件和软件要求 - 操作系统支持中记录了 Windows 11。因此,任何成功尝试使其在此类操作系统上运行都可能不受支持。

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

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

如果仍然需要答案,SQL Server 2019 和之前的版本在 Windows 11 上安装有问题,因为 BitLocker 对硬盘驱动器进行了加密。 要跳过这个问题,有两种简单的方法:

  • 安装在第二个物理驱动器上(包括服务和数据库文件)
  • 使用磁盘管理创建一个虚拟硬盘,使用 MBR 分区,然后在其上安装 SQL 服务器

暂无
暂无

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

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