I’ve been dealing with this issue for about 2 months now and still haven’t found a solution. E-commerce WordPress Woocommerce website crashes every day at certain hours due to database connection (502 Bad Gateway Error). I create a virtual machine again with its backup and it works, but it crashes again after about 8-10 hours. This problem creates an incredible loss of customers and reputation.
Nginx already running
php-fpm already running
mysql not running
I want to connect to the database via SSH.
- mysql -u root -h localhost -p
The system requests a password from me, but the password I typed does not appear (I press the keys on the keyboard, but it does not work)
then I get an error like this
–ERROR 1045 (28000): Access denied for user ‘root’ @ ‘localhost’ (using password: YES)
/opt/bitnami/mysql/bin/mysqladmin.bin Ver 8.0.18 for linux-glibc2.12 on x86_64 (MySQL Community Server - GPL)
PHP Version: 7.3.16
Also, if anyone has experience about why our site crashes periodically after running, I would like to ask you to share.
I’m looking forward to your answers