Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
If you create a new, blank site in Local can you access that okay? If you can, then you may want to try reimporting the site getting the errors. The steps would look like this:
Locate the site files on your machine, and save a copy of them to your desktop. If you click Go to Site Folder under your site name it should take you right to where they are located.
Once you have those copied, completely delete the site from Local
Hope this helps:
I faced the same issue, and in my case, there were two main causes:
1. MySQL was slow to respond
If you’re using an HD, MySQL might be taking too long to respond to LocalWP calls. I solved this by creating a custom version of the my.cnf file optimized for HDD performance.
I’m sharing a .txt with the changes I made. Just copy and paste them into the my.cnf file located at:
PS: I also applied this config inside my projects and blueprints in LocalWP, just to make sure everything stayed in sync.
2. Conflict with other programs using MySQL
Have you used XAMPP or similar software before? In my case, even after uninstalling XAMPP, the MySQL service was still running in the background.
Solution: I opened services.msc on Windows and manually disabled the leftover MySQL service from XAMPP. After that, LocalWP worked just fine.