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.
Are you running MySQL, then the error log is usually located in /var/log/mysql/error.log but sometimes it’s called /var/log/mysql.err.
If your configuration is setup to use syslog and you haven’t created a specific file output, then you’ll see the logging (together with a lot of other stuff) in /var/log/syslog
@kesamsettyankaiah
Login using your mysql client
mysql -uroot -p
then use this query to find your mysql error logshow variables like "log_error";
to find your error logHope this helps.
Hi @kesamsettyankaiah
Are you running MySQL, then the error log is usually located in
/var/log/mysql/error.log
but sometimes it’s called/var/log/mysql.err
. If your configuration is setup to usesyslog
and you haven’t created a specific file output, then you’ll see the logging (together with a lot of other stuff) in/var/log/syslog