Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server service doesn't start anymore automatically if I make a Windows restart

I have Windows 10 build 1511, where I have installed SQL Server 2014.

After installation everything is OK.

I've made several times shutdown on Windows 10, and after if I turn on my PC everything is OK.

But if I restart the system, after the restart, the SQL Server service remains stopped (startup type is Automatic). I try another restart and shutdown, but the service doesn't start automatically anymore.

I've started the service manually, and after the service is started and everything works ok. If I shut down everything, it is ok afterwards. But if I just restart, the problem that I've described above appears again.

What can I do ?

Thank you !

Update

It seems that the problem is already reported to Microsoft : https://connect.microsoft.com/SQLServer/feedback/details/1873617/sql-server-not-coming-online-after-os-upgrade-to-windows-10-even-when-startup-type-is-automatic

like image 392
alex Avatar asked Jan 14 '16 18:01

alex


People also ask

Why my SQL Server Services stopped automatically?

This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown.

How do I start SQL services automatically?

In SQL Server Configuration Manager, expand Services, and then click SQL Server. In the details pane, right-click the name of the instance you want to start automatically, and then click Properties. In the SQL Server <instancename> Properties dialog box, set Start Mode to Automatic.

Should SQL services be automatic?

SQL Server (MSSqlServer) service must be started manually every time it is started. Attachments: Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Why SQL Server is not starting?

A service could have been running previously with an invalid account or password. If the Database engine service will not start, after checking service credentials and startup, check the ERRORLOG. The ERRORLOG can be located at C:\Program Files\Microsoft SQL Server\<Instance ID>\MSSQL\LOG .


1 Answers

If you starts services.msc and serach for the SqlServer service, in properties, set the startup as automatic delay instead of automatic.

like image 93
Álvaro García Avatar answered Oct 05 '22 02:10

Álvaro García