Keywords: WordPress - AWS - Technical issue - Connectivity (SSH/FTP)
I have a website that has been running on Amazon Lightsail for around a year.
Currently located here: 126.96.36.199
I haven’t updated it in a few months, but a few days ago it started showing an ‘Error establishing a database connection’ error on a lot of pages.
I did done some digging, and have tried to access the mysql but it doesn’t seem to be running. Status shows:
php-fpm already running
apache already running
mysql not running
Trying to start or restart mysql gets the error:
/opt/bitnami/mysql/scripts/ctl.sh : mysql not running
/opt/bitnami/mysql/scripts/ctl.sh : mysql could not be started
I don’t seem to be out of storage:
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 8.8M 790M 2% /run
/dev/xvda1 156G 22G 134G 15% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/loop0 56M 56M 0 100% /snap/core18/1997
/dev/loop1 100M 100M 0 100% /snap/core/10958
/dev/loop2 33M 33M 0 100% /snap/amazon-ssm-agent/2996
/dev/loop3 56M 56M 0 100% /snap/core18/1988
/dev/loop4 100M 100M 0 100% /snap/core/10908
/dev/loop5 34M 34M 0 100% /snap/amazon-ssm-agent/3552
tmpfs 799M 0 799M 0% /run/user/1000
I’m not sure what else to try, but really need to get this website back online for my client. Any ideas?
Thanks in advance.