SHOW VARIABLES LIKE 'query_cache%';
SELECT * FROM tab_route_img WHERE rid=248;
SET GLOBAL QUERY_CACHE_TYPE =ON;
错误代码: 1651
Query cache is disabled; restart the server with query_cache_type=1 to enable it
query_cache_type = ON
Select * from A where name like ‘%xxx’ limit 1;
select * fromusers where YEAR(adddate)<2007;
Select * from users where adddate<’2007-01-01’;
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |