Enable or Disable SQL Server on Linux
There can be a few reasons, why have the SQL Server service disabled on your Linux machine. Today, I will show you, how to disabled or enable SQL Server service on Linux. It's the similar command as in my previous POST . Let's get start.
"First of all, you have to connect as root user on your Linux machine!"
Enable of SQL Server:
Disable of SQL Server:
If you need to check is SQL Server Service was disabled or enabled, run following command:
Result looks like this:
If you need STOP service before disabled action, please follow previous post about "How to start, stop and restart of SQL Server to Linux"