Having a problem. Yesterday everything worked fine but when i start to boot up my local enviroment today i get an error saying " Error establishing a database connection" on the page.
When i press “Database” and “Adminer” i get another error
So i think there is something wrong with the database. Also when i stop the site it is taking a long time at the “export database” sequence and ends with an error:
Ok, so the first problem was solved right?
About the 502 error, can you say what appears on the browser console and provide two log files?
The first log file is Local’s, if you need help finding it:
Also, apache/nginx log would be good. You can find it on your Local Sites folder, inside the folder of the site you’re having issues: ~/Local Sites/yoursite/logs/apache (grab the error.log file) ~/Local Sites/yoursite/logs/nginx (also the error.log file)