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)

preguntada hace 7 meses244 visualizaciones
2 Respuestas
1
Respuesta aceptada

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
respondido hace 7 meses
  • 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
EXPERTO
respondido hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas