I have a site that usually gave “Error establishing DB connection” error after 3-4 days.
mysql does not start.
The way I resolve it temporary is I changed logrotate value to 52 from 3 in
and restart it from command
logrotate -f -v /etc/logrotate.d/nginx
as suggested in https://easyengine.io/tutorials/linux/logrotate/
so it mysql start running and my site works fine
I need a permanent issue to resolve this problem I am new to easy Engine Nginx everything
Thanks in Advance