Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable logs for error generating or failed queries ? #3471

Open
shinigami017 opened this issue Jun 2, 2021 · 0 comments
Open

How to enable logs for error generating or failed queries ? #3471

shinigami017 opened this issue Jun 2, 2021 · 0 comments

Comments

@shinigami017
Copy link

I want to enable logs for failed or error generating queries not all the queries. Something like logging stats_mysql_errors table.

I can get the output of query select * from stats_mysql_errors; in a file but it will be manual work everytime I want to fetch the logs for failed queries. So, is there any way to log all the failed queries or sql errors automatically in real-time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant