XAMPP 실행안되는 오류

송연지·2024년 4월 8일
0

트러블슈팅

목록 보기
4/32

발생상황


Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums

갑작스럽게 XAMPP에서 mysql이 start조차 안 되는 에러가 발생했다.

해결


1. 혹시 모르니 xampp/mysql/data 폴더를 복사본으로 만들어 저장해둔다.

2. xampp/mysql에서 backup 폴더 안에 있는 내용을 복사하고 data폴더에 덮어쓴다.

3. XAMPP를 재시작한다. => 해결 !

나는 작업관리자에서 백그라운드로 돌아가고 있는 XAMPP를 모두 종료하기도 했는데, 핵심은 backup에 있는 정상 버전 파일로 data폴더를 고쳐주는 것이다. 기존의 data폴더 내에 있는 파일에 문제가 있던 것이기 때문이다.

profile
프론트엔드 개발쟈!!

0개의 댓글