MySQL Error when creating a new site

Issue Summary

I’m getting an error when trying to create a new site. This is what happens when the provisioning step is running:

Error: Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqladmin --password= ping
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/Users/mikemuller/Library/Application Support/Local/run/8s00lCFsb/mysql/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/Users/mikemuller/Library/Application Support/Local/run/8s00lCFsb/mysql/mysqld.sock' exists!
at ChildProcess.exithandler (child_process.js:317:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)

System Details

  • Which version of Local is being used?
    6.1.3

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

    • For example: macOS Catalina or Windows 10 Professional
      MacOS Big Sur. 11.6
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

Thanks for the error @mikemuller – can you also provide your Local Log? See this Community Forum post for instructions on how to do so:

Seemed to have resolved itself after the last Local Update!

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