My website is showing database connection error

0

my website has been down since last Sunday (01/10/2023). I have tried restarting Lightsail Instance but not working. Nothing has been changed by me because I am not a developer so I do not know more about it. By searching on the internet I have tried to check the cause but I was unable to find it. I just found that Mariadb is not working and not restarting.

bitnami@ip-###-##-##-##:~$ sudo /opt/bitnami/ctlscript.sh status mariadb Cannot find any running daemon to contact. If it is running, make sure you are pointing to the right pid file (/var/run/gonit.pid)

asked 7 months ago235 views
2 Answers
1
Accepted Answer

Hello! Can you create a snapshot for your instance and try to create another instance from that snapshot? Follow this doc for help: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-instance-from-snapshot

AWS
answered 7 months ago
  • A few snapshots were not working but the old snapshot is working perfectly. Thank you very much.

0

Have you tried starting it with

sudo /opt/bitnami/ctlscript.sh start mariadb

profile picture
EXPERT
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions