Skip to content

Conversation

@vgrippa
Copy link

@vgrippa vgrippa commented Nov 16, 2025

Fixing
mysql [localhost:8400] {msandbox} ((none)) > SELECT audit_log_filter_set_user('%', '%', 'log_all'); ERROR 1123 (HY000): Can't initialize function 'audit_log_filter_set_user'; Wrong argument list: audit_log_filter_set_user(user_name, filter_name)

To

SELECT audit_log_filter_set_user('%', 'log_all');

It will work

mysql [localhost:8400] {msandbox} ((none)) > SELECT audit_log_filter_set_user('%', 'log_all'); +-------------------------------------------+
| audit_log_filter_set_user('%', 'log_all') |
+-------------------------------------------+
| OK |
+-------------------------------------------+
1 row in set (0.01 sec)

Fixing
mysql [localhost:8400] {msandbox} ((none)) > SELECT audit_log_filter_set_user('%', '%', 'log_all');
ERROR 1123 (HY000): Can't initialize function 'audit_log_filter_set_user'; Wrong argument list: audit_log_filter_set_user(user_name, filter_name)

To

SELECT audit_log_filter_set_user('%', 'log_all');

It will work

mysql [localhost:8400] {msandbox} ((none)) > SELECT audit_log_filter_set_user('%', 'log_all');
+-------------------------------------------+
| audit_log_filter_set_user('%', 'log_all') |
+-------------------------------------------+
| OK                                        |
+-------------------------------------------+
1 row in set (0.01 sec)
Copy link
Collaborator

@patrickbirch patrickbirch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

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

Successfully merging this pull request may close these issues.

3 participants