Mysql error on start up

What issue or error are you experiencing?

I updated to version 9.2.9 and got an error that the site couldn’t be started. I downgraded back to 9.2.8 and am getting the same error. I’ve manually started Docker to no avail. Error message is:

Error: Command failed: /Users/mchampsee/Library/Application Support/Local/lightning-services/mysql-8.0.16+8/bin/darwin/bin/mysqladmin ping

mysqladmin: connect to server at ‘localhost’ failed

error: ‘Can’t connect to local MySQL server through socket ‘/Users/mchampsee/Library/Application Support/Local/run/PGfx7hAjm/mysql/mysqld.sock’ (2)’

Check that mysqld is running and that the socket: ‘/Users/mchampsee/Library/Application Support/Local/run/PGfx7hAjm/mysql/mysqld.sock’ exists!

at genericNodeError (node:internal/errors:983:15)

at wrappedFn (node:internal/errors:537:14)

at ChildProcess.exithandler (node:child_process:415:12)

at ChildProcess.emit (node:events:518:28)

at maybeClose (node:internal/child_process:1101:16)

at Socket. (node:internal/child_process:456:11)

at Socket.emit (node:events:518:28)

at Pipe. (node:net:346:12)


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

Starting a site with the latest version.

System Details

  • Local Version: 9.2.9

  • Operating System (OS) and OS version: Mac OS 15.5 Intel


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

local-lightning.log (276.1 KB)


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.

我也出现这种错误,求解决方法

Uh-oh! Unable to start site.
Error: Command failed:C:\Users\jinyu\AppData\Roaming\Locallightning-services\mysql-.8…mysqladmin.exe
pingamysqladmin: connect to server at ‘..1’ failederror: 'Can’t connect to MySQL server on ‘:1’(10061)'Check that mysqld is running on ::1 and that the port is 10292You can check this by doing ‘telnet ::1 10292’
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child process:417:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child process:1101:16)at ChildProcess. handle.onexit (node:internal/child process:304:5)

Hi @champsee and @jianri

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
  • Restart Local/your machine
  • Reimport the site back into Local. You can refer here on how to Restore from only Local site files