Local Community

Unable to connect via the socket 5.9.0

Issue Summary

After upgrade to 5.9.0 one of my sites cannot connect to the DB getting this error when attempting to connect through sequel pro (Error Connecting to Database when hitting the site in a browser):

Double-check that the socket path is correct and that you have the necessary privileges, and that the server is running.

MySQL said: Can't connect to local MySQL server through socket '/Users/{user}/Library/Application Support/Local/run/HNL0OhL1V/mysql/mysqld.sock' (61)

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

    • just one (out of 6)
  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?

    • Yes


I tried the solution found here but no luck

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?

    • macOS High Sierra
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.