docker启动greatsql:8.0.32-26,安装audit插件后,查询报错 [root@3c9015a9a43a mysql]# mysql -uroot -p1 --binary-as-hex=0 mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 33 Server version: 8.0.32-26 GreatSQL (GPL), Release 26, Revision a68b3034c3d Copyright (c) 2021-2024 GreatDB Software Co., Ltd Copyright (c) 2009-2024 Percona LLC and/or its affiliates Copyright (c) 2000, 2024, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. (Mon Aug 5 09:34:22 2024)[root@GreatSQL][(none)]>SELECT audit_login_messages(10); +--------------------------------+ | audit_login_messages(10) | +--------------------------------+ | Function failed with sql error | +--------------------------------+ 1 row in set (0.00 sec) (Mon Aug 5 09:37:08 2024)[root@GreatSQL][(none)]>show variables like 'audit%'; +-----------------------------+---------------+ | Variable_name | Value | +-----------------------------+---------------+ | audit_log_buffer_size | 1048576 | | audit_log_enabled | 1 | | audit_log_exclude_accounts | | | audit_log_exclude_commands | | | audit_log_exclude_databases | | | audit_log_file | audit.log | | audit_log_flush | OFF | | audit_log_format | OLD | | audit_log_handler | FILE | | audit_log_include_accounts | | | audit_log_include_commands | | | audit_log_include_databases | | | audit_log_policy | ALL | | audit_log_rotate_on_size | 0 | | audit_log_rotations | 0 | | audit_log_strategy | ASYNCHRONOUS | | audit_log_syslog_facility | LOG_USER | | audit_log_syslog_ident | percona-audit | | audit_log_syslog_priority | LOG_INFO | | audit_log_to_table | 1 | +-----------------------------+---------------+ 20 rows in set (0.00 sec) |
yejr
2024-8-5 17:47:48
| ||
ShawnYan
2024-8-5 18:00:49
| ||
yejr
2024-8-5 18:35:34
| ||
yejr
2024-8-5 21:32:57
| ||
ShawnYan
2024-8-7 23:08:51
| ||
yejr
2024-8-8 08:51:42
| ||
yejr
2024-8-9 09:38:31
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com