停止MySQL数据库服务:
$ sudo systemctl stop mysql.service
启动MySQL数据库服务:
$ sudo systemctl start mysql.service
重启MySQL数据库服务:
$ sudo systemctl restart mysql.service
查看MySQL运行状态:
$ sudo systemctl status mysql.service
停止MySQL数据库服务:
$ sudo systemctl stop mysql.service
启动MySQL数据库服务:
$ sudo systemctl start mysql.service
重启MySQL数据库服务:
$ sudo systemctl restart mysql.service
查看MySQL运行状态:
$ sudo systemctl status mysql.service