Fix DB issue in Wordpress AWS Lightsail website

Job ID: 34719131

Budget: ₹1,500 – ₹12,500 INR

Our server is showing 502 bad gateway. It is showing Connection refused in ip access also.

We tried accessing through FTP but unable to retrieve anything from there as well.

Region: Mumbai, Zone A (ap-south-1a)

The complete db seems to be corrupted
Can you please let us know how we can take backup of the website through FTP or get the website back up on Lightsail itself.
Related categories: PHP Linux WordPress MySQL Amazon Web Services