- mysql 프로세스 id 조회
# 현재 돌아가는 모든 프로세스 조회 커맨드
top
# mysql 프로세스만 조회
ps aux | grep mysql
- kill 명령어 사용하며 mysql 프로세스 종료
sudo kill 프로세스id입력
# 강제 종료해야 할 경우
sudo kill -9 1234
- mysql 다시 재실행
sudo systemctl start mysql
sudo systemctl restart mysql
# 상태 확인
sudo systemctl status mysql