Linux上面sqlserver数据库的操作

systemctl status mssql-server:查看sqlserver的状态
sudo systemctl stop mssql-server:停掉sqlserver服务
sudo systemctl Start mssql-server:开启sqlserver服务

停止并且禁止sqlserver自启动

sudo systemctl stop mssql-server
sudo systemctl disable mssql-server

设置开机自启并启动sqlserver

sudo systemctl enable mssql-server
sudo systemctl start mssql-server

 

posted @ 2021-07-28 14:50  小何同學  阅读(722)  评论(0编辑  收藏  举报