หน้าเว็บ

วันเสาร์ที่ 27 กันยายน พ.ศ. 2557

แก้ปัญหา MySQL ไม่สามารถ Start ได้ใน XAMPP (Stopped)

เครื่อง Mac ที่ใช้อยู่ลง XAMPP เป็น Visual Server วันดีคืนดีอยู่ ๆ ก็ไม่สามารถ Start MySQL ได้
ซึ่ง ProFTPD กับ Apache Web Server ก็รันปกติ มี MySQL อยู่ตัวเดียวนี่ล่ะที่ไม่ยอมรัน
กด Restart Service ก็แล้ว Restart เครื่องก็แล้ว ก็ไม่ได้

หาวิธีอยู่นานเลยไปเจอวิธีแก้ปัญหา เครื่องที่ใช้อยู่เป็น OS X 10.9.4 นะ

When I open XAMPP and click start MySQL button and it gives me an error I had it started just before but now it isn’t working.
2:37:15 PM [mysql] Error: MySQL shutdown unexpectedly.
2:37:15 PM [mysql] This may be due to a blocked port, missing dependencies,
2:37:15 PM [mysql] improper privileges, a crash, or a shutdown by another method.
2:37:15 PM [mysql] Press the Logs button to view error logs and check
2:37:15 PM [mysql] the Windows Event Viewer for more clues
2:37:15 PM [mysql] If you need more help, copy and post this
2:37:15 PM [mysql] entire log window on the forums

& Below is the Solution

Stop Xampp server
go to your C:\xampp\mysql\data directory
delete the ibdata1 file
Restrat XAMPP & MYSQL 


อ้างอิงจาก : http://www.iconwebsolutions.info/mysql-shutdown-unexpectedly/

1 ความคิดเห็น: