Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 wamp 服务器,我想关闭查询缓存。
我在mysql中找不到任何conf文件。
我尝试将 query_cache_type = OFF 放在 my.ini 中,但没有区别。
如何关闭缓存?我想测试我的网站速度....
谢谢。
在 mysql 终端中执行以下命令
设置全局 query_cache_size = 0;
在mysql 文档中查看更多详细信息。