Error establishing database connection on multiple sites

Hi, we have just started using flywheel local as part of our workflow. In the past couple weeks we have received “Error establishing a database connection” error messages on two of our websites. Is there a way to fix this and get the databases back for these websites? Also, is there a way to prevent this from happening again? We have checked the config files and nothing has been changed from the original. We are using the preferred set up.

local-by-flywheel.zip (14.4 KB)
Attached is my log file for local