mysqldude
Error codes › 1651

MySQL & MariaDB error 1651 ER_QUERY_CACHE_DISABLED

MySQLQuery cache is disabled; restart the server with query_cache_type=1 to enable it
MariaDBQuery cache is disabled; set query_cache_type to ON or DEMAND to enable it
Example from our test runs: Query cache is disabled; restart the server with query_cache_type=1 to enable it (5.6.51)
MySQLMariaDB
SymbolOBSOLETE_ER_QUERY_CACHE_DISABLEDER_QUERY_CACHE_DISABLED
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.5.63; now an unused placeholder (since 8.0.11) obsoleteevery release since 5.5 active

Where this error shows up in our guides

How the message changed between versions
MySQL fromSymbolMessage
5.5.63ER_QUERY_CACHE_DISABLEDQuery cache is disabled; restart the server with query_cache_type=1 to enable it
8.0.11OBSOLETE_ER_QUERY_CACHE_DISABLEDQuery cache is disabled; restart the server with query_cache_type=1 to enable it