Sql server(服务)没有启动

时间:2017-05-09 16:13:19

标签: sql sql-server sql-server-2016

我从PC上删除了旧的sql server。然后我安装了新的SQL Server。这个sql server服务没有启动之后。当我从sql server配置管理器运行服务时 - 我收到错误消息:

  

"请求失败或服务没有及时响应   时尚。查阅事件日志或其他适用的错误日志   细节"

此命令: sqlservr.exe -s MSSQL -e C:\ 1.txt 返回日志:

2017-05-09 18:32:55.05 Server      Microsoft SQL Server 2016 (RTM) - 13.0.1601.5 (X64) 
    Apr 29 2016 23:23:58 
    Copyright (c) Microsoft Corporation
    Enterprise Edition (64-bit) on Windows 10 Enterprise 6.3 <X64> (Build 10586: )

2017-05-09 18:32:55.05 Server      UTC adjustment: 3:00
2017-05-09 18:32:55.05 Server      (c) Microsoft Corporation.
2017-05-09 18:32:55.05 Server      All rights reserved.
2017-05-09 18:32:55.05 Server      Server process ID is 7956.
2017-05-09 18:32:55.05 Server      System Manufacturer: 'ASUSTeK COMPUTER INC.', System Model: 'X550JX'.
2017-05-09 18:32:55.06 Server      Authentication mode is WINDOWS-ONLY.
2017-05-09 18:32:55.06 Server      Logging SQL Server messages in file 'C:\1.txt'.
2017-05-09 18:32:55.06 Server      The service account is 'USER-PC\User'. This is an informational message; no user action is required.
2017-05-09 18:32:55.06 Server      Command Line Startup Parameters:
     -s "MSSQL"
     -e "C:\1.txt"
2017-05-09 18:32:55.06 Server      Error: 17113, Severity: 16, State: 1.

2017-05-09 18:32:55.06 Server      Error 3(The system cannot find the path specified.) occurred while opening file '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.
2017-05-09 18:32:55.07 Server      SQL Server shutdown has been initiated

我尝试为 Windows用户本地系统本地服务添加权限,但它没有帮助。

1 个答案:

答案 0 :(得分:0)

错误日志为您提供有关失败的信息:在打开文件'master.mdf'以在启动时获取配置信息时出现错误3(系统找不到指定的路径。)。无效的启动选项可能导致错误。 您应该检查您的启动参数。 启动配置管理器 - &gt; SQL Server服务 - &gt;你的实例 - &gt;属性 - &gt;高级 - &gt;启动参数。 它应包含master.mdf,mastlog.ldf和errorlog

的路径