Can't Pull Website Files for WP Engine as Errors Occur

I’m trying to pull website files from WP Engine for https://mjstaging2.wpengine.com/ (a password-protected website) to Local. I have a 2015 MacBook Pro running macOS Catalina.

However, I can’t successfully pull files to Local as I run into the errors below (from the error log):

Application Support/Local/run/SDFOF37wc/mysql/mysqld.sock'  port: 10002  MySQL Community Server - GPL.","timestamp":"2020-05-04T23:47:07.430Z"}
{"thread":"main","class":"SiteDatabaseService","stack":"Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/mysql-8.0.16+3/bin/darwin/bin/mysqladmin ping\n\u0007mysqladmin: connect to server at 'localhost' failed\nerror: 'Can't connect to local MySQL server through socket '/Users/mattpjennings/Library/Application Support/Local/run/SDFOF37wc/mysql/mysqld.sock' (2)'\nCheck that mysqld is running and that the socket: '/Users/mattpjennings/Library/Application Support/Local/run/SDFOF37wc/mysql/mysqld.sock' exists!\n\n    at ChildProcess.exithandler (child_process.js:308:12)\n    at ChildProcess.emit (events.js:203:13)\n    at ChildProcess.EventEmitter.emit (domain.js:476:20)\n    at maybeClose (internal/child_process.js:1021:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)","level":"error","message":"Database did not respond to ping after 15 tries.","timestamp":"2020-05-04T23:47:07.711Z"}
{"thread":"main","reason":{"killed":false,"code":1,"signal":null,"cmd":"/Applications/Local.app/Contents/Resources/extraResources/lightning-services/mysql-8.0.16+3/bin/darwin/bin/mysqladmin ping"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2020-05-04T23:47:07.713Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[04-May-2020 16:47:07] ERROR: failed to open error_log (/Users/mattpjennings/Desktop/projects/mj/build/mj.net/logs/php/php-fpm.log): No such file or directory (2)","timestamp":"2020-05-04T23:47:07.912Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[04-May-2020 16:47:07] ERROR: failed to post process the configuration","timestamp":"2020-05-04T23:47:07.912Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[04-May-2020 16:47:07] ERROR: FPM initialization failed","timestamp":"2020-05-04T23:47:07.913Z"}
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/Users/mattpjennings/Desktop/projects/mj/build/mj.net/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2020-05-04T23:47:07.919Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[04-May-2020 16:47:08] ERROR: failed to open error_log (/Users/mattpjennings/Desktop/projects/mj/build/mj.net/logs/php/php-fpm.log): No such file or directory (2)","timestamp":"2020-05-04T23:47:08.534Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[04-May-2020 16:47:08] ERROR: failed to post process the configuration","timestamp":"2020-05-04T23:47:08.534Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[04-May-2020 16:47:08] ERROR: FPM initialization failed","timestamp":"2020-05-04T23:47:08.534Z"}

I already have files from my git repo in the directory I want to pull to as well.

Can you please assist me with solving this issue?

Hi @risingPhoenix1979, are you pulling to an existing Local Site or pulling a site fresh into Local?

HI @flyjack,

I’m trying a WP Engine site using Local into a directory that has already has the following files (it’s a git repo from Github):
.git
.gitignore
README.md

Also I’m going the following error too with my database:
Database Name: Unable to find DB_NAME in app/public/wp-config.php
Username: Unable to find DB_USER in app/public/wp-config.php
Username: Unable to find DB_PASSWORD in app/public/wp-config.php

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