Sql-server – Cannot find sqlserver service

sql serversql-server-2019ssmswindows

I installed Sql Server 2019 in Windows PC.

In Sql Server Configuration Manager into SQL Server Service I stopped all the instances.

But still I can loggin to Sql Server via SSMS.why is that? Where is the Sql Server service?

In Windows Services I can see SQL Server (MSSQLSERVER01) that running and when I stopped it,I can't login to sqlserver. But why I can't see that service running in Sql Server Configuration Manager into SQL Server Service.

I login with server name:DESKTOP-IJ7544\MSSQLSERVER01

Best Answer

There are 2 types of SQL Server installed on a PC:

  1. Server based - named instances such as \sqlexpress, \instance name or unnamed instances such as . All of these instances can be stopped by going to services.msc and stopping the service. By default, most people install unnamed instances on PCs unless they fully intend to install a named instance.
  2. File-based - this is your localDB that may come with an installation of Visual Studio

From all indications, you may have more than one server-based installation - a unnamed instance for which you have stopped the service in services.msc and a named instance which you can still connect to.

I would go to services.msc and check to see if any of the sql instances services have a status of running. If they do, that’s why. While in services, typing “s” or “sq” fast enough should get you there faster.

Sql configuration is great for particular versions but may not reveal other instances beyond the version for which it was installed.