# MySQL服务器已断开：错误1114 (HY000) 表已满

- **ID:** `aws/rds-storage-full-read-only`
- **领域:** aws
- **类别:** resource_error
- **错误码:** `1114`
- **验证级别:** ai_generated
- **修复率:** 90%

## 根因

RDS实例存储卷已满，阻止写入操作，导致MySQL突然终止连接。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| mysql-8.0.35 | active | — | — |
| aurora-mysql-3.05.0 | active | — | — |
| rds-2024 | active | — | — |

## 解决方案

1. ```
   Increase the allocated storage for the RDS instance via AWS CLI: aws rds modify-db-instance --db-instance-identifier mydb --allocated-storage 200 --apply-immediately. Then wait for modification to complete.
   ```
2. ```
   If using Aurora, enable storage autoscaling: aws rds modify-db-cluster --db-cluster-identifier mycluster --enable-http-endpoint --auto-minor-version-upgrade --storage-type aurora --allocated-storage 100 --max-allocated-storage 1000
   ```

## 无效尝试

- **** — 重启不会释放存储空间，写入操作会立即再次失败。 (95% 失败率)
- **** — 删除索引只能释放少量空间，且可能影响查询性能，不足以解决存储满的问题。 (70% 失败率)
