Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Mysql always oocasional refused connection
Hi , after I deploy my laravel app , I occasional encounter mysql refused connection error.
I check mysql status
systemctl status mysqld
it shows failed.
I have to restart everytime in order to make it back to normal, it very annoying.
I search around digitalocean community it looks like it’s comman issues mostly its memory issue.
I want to check my root cause of this crash , so I want to access mysql error log from here
i run the command
sudo less /var/log/mysql/error.log but it return
/var/log/mysql/error.log: No such file or directory
any ideas where is error log for centos 8 ? thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×