728x90
반응형
SMALL

1. 개요

 - SSH 모드에서 사용하다보니 간혹 운영체제에 따라 명령어가 반영되지 않는 경우가 있어 남긴다

 

2. 명령어

구분 Ubuntu CentOS 6 CentOS 7
상태확인 service mysql status service mysqld status systemctl status mysqld
시작 service mysql start service mysqld start systemctl start mysqld
정지 service mysql stop service mysqld stop systemctl stop mysqld
재시작 service mysql restart service mysqld restart systemctl restart mysqld
728x90
반응형
LIST

'IT > Linux' 카테고리의 다른 글

[Linux] Open JDK 설치 방법  (0) 2023.05.04
[Linux] SSH Port 변경 방법  (0) 2023.05.04
[Linux] HDD 용량 Full로 인한 mount Error 조치  (0) 2023.05.04
[Linux] SElinux Disable 방법  (0) 2023.05.04
[Linux] Apache 서버 정보 숨기기  (0) 2021.04.02

+ Recent posts