linux上面sqlserver数据库的操作

sqlserver2017可以安装到linux也不是什么新鲜事,

centos安装好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 @ 2019-04-19 17:51  wall-ee  阅读(9292)  评论(0编辑  收藏  举报