Lỗi mysql xampp

Xampp là phần mềm tạo môi trường PHP MySQL phổ biến nhất hiện nay, nhưng trong quá trình sử dụng đôi khi bạn sẽ gặp một số lỗi như Apache không khởi động được hoặc MySQL không có tài nguyên nào Start được. Như bạn này đang sử dụng Xampp trên Window và đang gặp phải lỗi

[mysql] Error: MySQL shutdown unexpectedly.

[mysql] This may be due to a blocked port, missing dependencies,

[mysql] improper privileges, a crash, or a shutdown by another method

[mysql] Press the Logs button to view error logs and check

[mysql] the Windows Event Viewer for more clues

[mysql] If you need more help, copy and post this

[mysql] entire log window on the forums

Khi Khởi động MySQL, thì sẽ hiển thị lỗi như trên

MySQL tắt đột ngột

Để xử lý sự cố không khởi động được mysql, các bạn làm theo các bước sau

Nội dung

Bước 1. Đổi tên, sao lưu dữ liệu thư mục

In thư mục cài đặt xampp -> mysql đổi tên thư mục mysql/data thành mysql/data_old

Đổi tên Data Thành Data Old

Bước 2. Sao chép thư mục sao lưu

Sao chép, sao chép thư mục [mysql] This may be due to a blocked port, missing dependencies,0 và đổi tên thành mysql/data

Clone Folder Backup Thành Data

Bước 3. Copy file, thư mục từ data_old vào data

Sao chép tất cả các thư mục trong mysql/data_old vào mysql/data [thư mục ngoại trừ [mysql] This may be due to a blocked port, missing dependencies,4, [mysql] This may be due to a blocked port, missing dependencies,5 và [mysql] This may be due to a blocked port, missing dependencies,6], lưu ý không thay thế nhé

Chủ Đề