Local Community

Error establishing database connection one of many problems

Hi there, I’ve updated to the latest version of Local and then been unable to view any websites in Local. The initial error was hanging forever after updating the environment. Then, unable to establish database connection, now also Uh-oh! MySQL was unavailable when Local tried to back up…

Pretty much none of my sites are working. I think it might have something to do with MySQL not working but have no idea how to check. Appreciate your help with this :slight_smile:

The log says:

Jul 31, 2019, 2:40 PM GMT+10 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at Object.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2800)\n    at Generator.next (<anonymous>)\n    at _0x3cbc6e (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1126)\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }

Hey @alicia

When updating, were you updating the environment for each site? What happens if you stop the site and try starting it again?

Can you please provide the full local-by-flywheel.log file? See this Community Forum post for instructions on how to do so: