# sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mysql2

- **ID:** `python/sqlalchemy-unsupported-dialect`
- **Domain:** python
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

指定的数据库方言不存在或拼写错误。

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.4.x | active | — | — |
| 2.0.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   检查方言名称，正确的 MySQL 方言是 'mysql'，例如：mysql+pymysql://
   ```
2. **** (90% success)
   ```
   确保安装对应的驱动，如 PyMySQL 或 mysqlclient。
   ```

## Dead Ends

- **** — 尝试安装 mysql2 包，但该包不存在。 (90% fail)
- **** — 忽略错误，但无法连接到数据库。 (100% fail)
