How to clear query cache in mysql?

后端 未结 3 477
隐瞒了意图╮
隐瞒了意图╮ 2021-02-01 19:18

I tried this at root prompt but didnt help.

mysql> RESET QUERY CACHE;

IT showed

Query OK, 0 rows affected (0.00 sec)
         


        
3条回答
  •  执笔经年
    2021-02-01 19:55

    Mysql runs its own shell. You can delete this history by deleting the file that the history is read from, which is stored in ~/.mysql_history

提交回复
热议问题