MySQL prompts shutdown unexpectedly problem solving method

Source: Internet
Author: User
When you encounter a shutdown unexpectedly error when you open a local environment xampp MySQL, how do you solve it?

About MySQL enable failed, the following occurs:

14:39:05 [MySQL] error:mysql shutdown unexpectedly.
14:39:05 [MySQL] This is due to a blocked port, missing dependencies,
14:39:05 [MySQL] improper privileges, a crash, or a shutdown by another method.
14:39:05 [MySQL] Press the Logs button to view error Logs and check
14:39:05 [MySQL] the Windows Event Viewer for more clues
14:39:05 [MySQL] If you need, copy and post this
14:39:05 [MySQL] entire log window on the Forums

Solution:

1. Locate the local Disk D: Store the Xampp folder, click Open Folder

2. Find MySQL folder, click Open
3. Locate the Data folder and click Open

4. Find Ibdata1 This file and delete it

5. Re-enable MySQL, start successfully

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.