Error establishing a database connection still happen in EC2 AWS

Keywords: WordPress - AWS - Technical issue - Other
Hi I’ve been having a problem with my website, My website is showing "Error establishing a database connection. i already check :

root@xxxxxxxx:/home/bitnami# sudo /opt/bitnami/ restart
Syntax OK
/opt/bitnami/apache2/scripts/ : httpd stopped
/opt/bitnami/php/scripts/ : php-fpm stopped
/opt/bitnami/mysql/scripts/ : mysql not running
/opt/bitnami/mysql/scripts/ : mysql could not be started
/opt/bitnami/php/scripts/ : php-fpm started

mysql get trouble, pls help me to solve this problem step by step, thank you for your kind attention

Hi @adigates,

Thanks for using Bitnami. Could you add to this thread the output of mysql.log?

tails -n 50 /opt/bitnami/mysql/data/mysqld.log

and the output of this command?

df -H


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.