---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# MySQL“严重”漏洞20年未修复

Source: https://www.zaihua.news/article/33834/

[返回新闻流](https://www.zaihua.news/)
2025年6月25日 · 16:51 · [在花新闻](https://www.zaihua.news/about/)

# MySQL“严重”漏洞20年未修复

MySQL数据库中一个被标记为“严重”（S2）的漏洞（Bug 11472），自2005年6月提交以来，至今已20年未修复。该漏洞导致外键更新或删除后触发器无法执行，严重影响数据完整性。

尽管官方曾承诺修复，但问题依然存在，迫使部分开发者因数据完整性需求转用PostgreSQL等数据库。社区对此表示失望。

DB-Engines排名显示，MySQL受欢迎度呈下降趋势，而PostgreSQL持续上升。专家认为这可能与Oracle收购MySQL后对其维护的忽视有关。

[DevClass](https://devclass.com/2025/06/24/serious-mysql-bug-celebrates-20-years-unfixed-another-reason-to-switch-to-postgresql/)

📮[分享投稿](http://t.me/ZaiHuabot) ☘️[频道](http://t.me/zaihuanews) 🍵[茶馆](http://t.me/zaihuachat)

[上一条Anthropic 即将推出记忆功能和 AI 驱动的 Artifacts 功能](https://www.zaihua.news/article/33831/)[下一条最高检设立检察侦查厅严惩司法腐败](https://www.zaihua.news/article/33835/)
