Categories
Stuff

How to stop Microsoft sql service in DOS

Well it seems you can use

NET STOP and NET START commands from the DOS command-prompt to
stop/start a default SQL Server instance:

NET STOP MSSQLSERVER
NET START MSSQLSERVER

For a named instance of SQL you can use:

NET STOP MSSQL$MyInstance
NET START MSSQL$MyInstance

I have to backup someones SQL when they do not have a full blown sql install anywhere so figure this is the easiest way. For the software I also need to backup another directory.

Leave a Reply

Your email address will not be published. Required fields are marked *