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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ