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)

질문됨 7달 전244회 조회
2개 답변
1
수락된 답변

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
답변함 7달 전
  • 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
전문가
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠