Uh-oh! Unable to Start site says SQL file is not there

Error: Command failed: /Users/timgangl/Library/Application Support/Local/lightning-services/mysql-8.0.35+2/bin/darwin/bin/mysqladmin ping

mysqladmin: connect to server at ‘localhost’ failed

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

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

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

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

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

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

at ChildProcess.emit (node:domain:489:12)

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

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

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

at Socket.emit (node:domain:489:12)

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

Hey @Tim.Gangl!

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