# sql: unknown driver "mysql" (forgotten import?)

- **ID:** `go/database-sql-unsupported-driver`
- **Domain:** go
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The database driver is not imported, or the driver name is misspelled.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.17 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   import _ "github.com/go-sql-driver/mysql"
   ```
2. **** (90% success)
   ```
   sql.Open("mysql", "user:password@tcp(host:port)/dbname")
   ```

## Dead Ends

- **** — Driver names are case-sensitive; 'MySQL' is not the same as 'mysql'. (80% fail)
- **** — Go requires a blank import to register the driver. (70% fail)
