![MS Sql Server 2019 在 Ubuntu 20.04 上安装失败](https://linux22.com/image/771863/MS%20Sql%20Server%202019%20%E5%9C%A8%20Ubuntu%2020.04%20%E4%B8%8A%E5%AE%89%E8%A3%85%E5%A4%B1%E8%B4%A5.png)
我正在尝试按照以下步骤在 Ubuntu 20.04 上安装 SQL Server 2019 开发人员版 -https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15
安装失败于
sudo /opt/mssql/bin/mssql-conf setup
错误日志记录了以下消息。我不明白。哪个参数不正确?我们只需执行上述操作即可开始设置。
2021-10-30 10:10:53.56 Server Microsoft SQL Server 2019 (RTM-CU13)
(KB5005679) - 15.0.4178.1 (X64)
Sep 23 2021 16:47:49
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 20.04 LTS) <X64>
2021-10-30 10:10:53.56 Server UTC adjustment: 5:30
2021-10-30 10:10:53.56 Server (c) Microsoft Corporation.
2021-10-30 10:10:53.56 Server All rights reserved.
2021-10-30 10:10:53.56 Server Server process ID is 356.
2021-10-30 10:10:53.56 Server Logging SQL Server messages in file
'/var/opt/mssql/log/errorlog'.
2021-10-30 10:10:53.56 Server Registry startup parameters:
-d /var/opt/mssql/data/master.mdf
-l /var/opt/mssql/data/mastlog.ldf
-e /var/opt/mssql/log/errorlog
2021-10-30 10:10:53.56 Server Command Line Startup Parameters:
--setup
--reset-sa-password
2021-10-30 10:10:53.56 Server Error: 17113, Severity: 16, State: 1.
2021-10-30 10:10:53.56 Server Error 87(The parameter is incorrect.)
occurred while opening file '/var/opt/mssql/data/master.mdf' to obtain
configuration information at startup. An invalid startup option might have
caused the error. Verify your startup options, and correct or remove them
if necessary.