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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!