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

Better error message when blocking query #1

Open
dveeden opened this issue Feb 21, 2018 · 1 comment
Open

Better error message when blocking query #1

dveeden opened this issue Feb 21, 2018 · 1 comment

Comments

@dveeden
Copy link
Owner

dveeden commented Feb 21, 2018

https://dev.mysql.com/doc/refman/5.7/en/writing-audit-plugins.html
This can be done by using my_message()

@sjmudd
Copy link

sjmudd commented Nov 21, 2018

It may be convenient to provide a custom message maybe configurable via a global variable (default use what you have.)

This would be used to lead developers/administrators to the right "place" when they see this "unexpected message".

Perhaps implemented as:

mysql> SET GLOBAL maxdiskusage_message='Running out of free disk space. Contact <some_person_or_email_address> for more details.';

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

2 participants