Error codes › 1651
MySQL & MariaDB error 1651 ER_QUERY_CACHE_DISABLED
Example from our test runs:
Query cache is disabled; restart the server with query_cache_type=1 to enable it (5.6.51) | MySQL | MariaDB | |
|---|---|---|
| Symbol | OBSOLETE_ER_QUERY_CACHE_DISABLED | ER_QUERY_CACHE_DISABLED |
| SQLSTATE | HY000 | HY000 |
| Type | Server error | Server error |
| Versions | since 5.5.63; now an unused placeholder (since 8.0.11) obsolete | every release since 5.5 active |
Where this error shows up in our guides
- Query_cache_type · SET SESSION query_cache_type = 2 (original) MySQL 5.6 5.7
How the message changed between versions
| MySQL from | Symbol | Message |
|---|---|---|
| 5.5.63 | ER_QUERY_CACHE_DISABLED | Query cache is disabled; restart the server with query_cache_type=1 to enable it |
| 8.0.11 | OBSOLETE_ER_QUERY_CACHE_DISABLED | Query cache is disabled; restart the server with query_cache_type=1 to enable it |