------------+------------------------------------------------+
| MASTER                    | Deletes all old binary logs, makes the binary  |
|                           | index file (--log-bin-index) empty and         |
|                           | creates a new binary log file.  This is        |
|                           | useful when you want to reset the master to    |
|                           | an initial state. If you want to just delete   |
|                           | old, not used binary logs, you should use the  |
|                           | PURGE BINARY LOGS command.                     |
+---------------------------+------------------------------------------------+
| QUERY CACHE               | Removes all queries from the query cache. See  |
|                           | also FLUSH QUERY CACHE.                        |
+---------------------------+------------------------------------------------+

URL: https://mariadb.com/kb/en/reset/https://mariadb.com/kb/en/reset/