Update 2.2.4 for MacOS - error establishing database connection

After updating to 2.2.4 - every install generates error establishing database connectionlocal-by-flywheel.log (193.8 KB)
local-by-flywheel.log (193.8 KB)

CloudApp

@jdelia,

So sorry for the trouble!

Can you please try the following:

  1. Right-click on one of the newly created sites in Local’s sidebar
  2. Go to “Open Site SSH”
  3. Run service mysql restart
  4. Copy the output

Clay,
I followed the thread in the forum to restore from Time Machine Backup. After doing that I am able to access the site and run the SSH. Here are the results.

[~] $ /Users/loneduchess/Library/Application\ Support/Local\ by\ Flywheel/ssh-entry/rkEzvB-Nz.sh ; exit;
root@b3d14cf04a3b:/# service mysql restart
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld ..
[info] Checking for tables which need an upgrade, are corrupt or were 
not closed cleanly..
root@b3d14cf04a3b:/# 

I am also getting this on a regular basis when stopping sites.

CloudApp

Thanks for the output and screenshot!

Do you remember which thread you followed? If so, can you provide the link?

Are the sites loading and working fine now outside of stopping the sites?

I followed this-> Restore everything from Time Machine backup or other backup

Yes, all sites are starting except for the issue stopping sites. That issue appears to be random.

I am unable to clone a site. It is stuck on adding. Here is my error log.

local-by-flywheel.log (345.8 KB)

CloudApp

It appears I may have too many installs. I am reducing the number of the installs.

Had same issue after upgrading to 2.4.2. I noticed that sites that used ‘root’ for user weren’t affected. Changed affected sites user and password to root in wp-config and fixed!