I’ve been working on a WordPress website on my local computer, using one of my hard drives as a local host. (Eventually, I’ll move the site to a remote server, but I want to finish the site and test it locally first, before it goes live to the public.)
I’ve been using XAMPP to run Apache and MySQL. But, now MySQL keeps shutting down unexpectedly. Here’s a screenshot that includes the error log:
I tried changing the port that MySQL uses. I also tried the other steps suggested in this article:
text
All to no avail.
A while ago, I had a similar situation in which the other app, Apache, would shut down unexpectedly. Now Apache works fine, but MySQL doesn’t. For a while, both apps seemed to work reliably. But, now MySQL just won’t stay running. I have no idea what changed.
What should I do to keep MySQL running?