MySQL & MariaDB error 4042 ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS
Same number, two different errors. 4042 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLBoth audit_log_max_size and audit_log_prune_seconds are set to non-zero. audit_log_max_size takes precedence and audit_log_prune_seconds is ignored
MariaDBSyntax error in JSON path in argument … to function '…' at position …