How to Fix MySQL Error 3735 (ER_CANT_SET_ERROR_SUPPRESSION_LIST)
You see mysql error 3735 when the server fails to add a log suppression rule. You fix it by removing invalid error codes or trimming your filter list. MySQL logs this issue under the symbol ER_CANT_SET_ERROR_SUPPRESSION_LIST and SQLSTATE HY000. The engine blocks the update because the rule set is full or the code is wrong. Database teams hit this wall when they tune log noise on busy servers. What causes mysql error 3735 in the database engine MySQL lets admins hide specific warning or infor
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
You see mysql error 3735 when the server fails to add a log suppression rule. You fix it by removing invalid error codes or trimming your filter list.
MySQL logs this issue under the symbol ER_CANT_SET_ERROR_SUPPRESSION_LIST and SQLSTATE HY000. The engine blocks the update because the rule set is full or the code is wrong. Database teams hit this wall when they tune log noise on busy servers.
What causes mysql error 3735 in the database engine
MySQL lets admins hide specific warning or information messages from the main error log. This feature keeps disk usage low and makes real failures easier to spot. Still, the engine enforces strict limits on what codes you can add to this list.
First, the error code you enter must map to a valid error log message. MySQL separates client query errors from server log events. If you pass a client error code into the log filter, the server rejects it. Typos or outdated numbers from older versions also trigger this failure right away.
Second, the internal rule set has a hard size limit. Each code in your suppression list takes up a slot in memory. When you pass too many codes at once, the parser stops and returns code 3735. You must keep the list compact so the log filter stays fast.
Third, syntax mistakes in the list string can break the parser. Extra spaces, bad separators, or hidden characters make a valid code look broken to MySQL. The engine reads the bad token and refuses to apply the whole change.
How to diagnose and fix the failure in production
Start by reading the exact message text returned by the database server. The message shows the exact code string that caused the rule check to fail. Copy that value and compare it against the official server error log reference.
Make sure the number belongs to the server log range and not client responses. Also check that the event is a warning or note rather than a fatal error. MySQL does not allow you to hide fatal system crashes from the error log.
MySQL Access Governance + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Next, count how many items sit in your current suppression list. If the list is long, look for old rules that your team no longer needs. Remove codes for fixed bugs or retired features to free up slots in the list.
Test your updated list on a staging instance before you touch a live node. Apply the change with a scoped admin role instead of sharing full root credentials. Never disable error logging as a shortcut to get around a broken suppression list.
How to prevent log filter errors across database nodes
Treat your database log settings like code and keep them in version control. Review every new error code in a pull request before anyone runs an update. Automated checks can catch bad formatting or oversized lists before they reach production.
Instead of silencing dozens of warnings, fix the root cause in your database setup. For example, if bad login attempts flood the log, fix the broken app service. Clean systems need very few suppression rules and stay well below engine limits.
Keep your database nodes on the same minor version across your whole fleet. Error codes can change when you upgrade from one release to the next. Checking your suppression list during upgrades stops startup warnings and keeps logs clean.
Add wire guardrails and masking beside MySQL
Database grants and TLS setup decide who can reach MySQL. Even so, an open session can run broad updates or read raw personal data from allowed tables. In practice, hoop.dev sits inline in the wire protocol beside the database as a sidecar for your MySQL. On every production query an agent or engineer sends, hoop.dev decides to pass, mask, block, or escalate it for human review.
With hoop.dev MySQL support, guardrails refuse bad queries before they run or hold risky calls for approval, while data masking rewrites matched sensitive values in result rows in memory. Furthermore, hoop.dev holds SOC 2 Type II and generates evidence for GDPR, HIPAA, and PCI DSS programs. Read the docs and source on GitHub.
Frequently asked questions
What does ER_CANT_SET_ERROR_SUPPRESSION_LIST mean in MySQL?
It means MySQL could not add a rule to the error log suppression list. Either the rule list is full or the code is not a valid log message.
Can I suppress fatal errors using the MySQL suppression list?
No, MySQL only lets you suppress warning and information messages in the error log. Trying to hide fatal server errors or client query errors will trigger error 3735.
Does mysql error 3735 stop the database from running queries?
No, the database keeps running normal read and write queries when this error occurs. Only the change to the error log suppression list fails to apply.
Related guides
In this post