1唇敞、啟動(dòng)mysql服務(wù)
systemctl start mysqld.service
2约急、停止mysql服務(wù)
systemctl restart mysqld.service
3筋栋、重啟mysql服務(wù)
systemctl restart mysqld.service
4炊汤、查看mysql服務(wù)當(dāng)前狀態(tài)
systemctl status mysqld.service
5、設(shè)置mysql服務(wù)開(kāi)機(jī)自啟動(dòng)
systemctl enable mysqld.service
6、停止mysql服務(wù)開(kāi)機(jī)自啟動(dòng)
systemctl disable mysqld.service