Task: Clear MySQL Query Cache Without Restarting Server
Task: Clear MySQL Query Cache Without Restarting Server: a task in Terminal-Lego-15k (Harbor dataset). You are a database administrator who needs to clear the MySQL query cache to free up memory and ensure fresh query results without restarting the MySQL server. Your task is to write a shell…
The task
You are a database administrator who needs to clear the MySQL query cache to free up memory and ensure fresh query results without restarting the MySQL server. Your task is to write a shell script that connects to a MySQL database and clears the query cache.
Part of PrimeIntellect/Terminal-Lego-15k.