mysqldude
Error codes › 4042

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 …
MySQLMariaDB
SymbolER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDSER_JSON_PATH_SYNTAX
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.26 activesince 10.2.44 active