Unable to Start Site 'Can't connect to local MySQL server through socket'

What issue or error are you experiencing?

Uh-oh unable to start site popup, full error:
Error: Command failed: /Users//Library/Application Support/Local/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqladmin ping
amysqladmin: connect to server at ‘localhost’ failed
error: 'Can’t connect to local MySQL server through socket '/Users/
/Library/Application Support/Local/run/vC_agctSF/mysql/mysqld.sock’ (61)’
Check that mysqld is running and that the socket: ‘/Users/***/Library/Application Support/Local/run/vC_agctSF/mysql/mysqld.sock’ exists!

at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Socket. (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe. (node:net:322:12)


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

open program, try to start one of my sites, works fine on others


System Details

  • Local Version:
    Version 8.2.1+6583

  • Operating System (OS) and OS version:
    macOS 14.3 (23D56)


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-logs2.zip (1.3 MB)


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.

Hi @ZolaDesigners

If you change your Router Mode to Localhost are you able to proceed? Preferences>Advanced>Router Mode>Localhost