Issue Summary
Hi, i reset my mac and only saved the /Local Sites/ folder and /Application Support/Local/ as a backup and it has no mysql.sock file available for any site. I thought restoring these two will work but i was wrong. Is there any possibility to get it working or i have lost the database file for all sites? if it is possible to manually export the .sql file for each site as i already have site content saved.
Troubleshooting Questions
- I got the following error.
Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqladmin ping
mysqladmin: [Warning] World-writable config file '/Users/aryanraj/Library/Application Support/Local/run/YA0dUFP44/conf/mysql/my.cnf' is ignored.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
at ChildProcess.exithandler (node:child_process:407:12)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket.<anonymous> (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe.<anonymous> (node:net:709:12)
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Creating a new site is working.
Replication
System Details
iMac Late 2015, Monterey 12.6.7