My production server is on the linux machine. I am trying to debug and find the slow running queries. But first I want to delete the content of the /var/log/slow-queries.log file.
Can anyone tell me how to do this?
Its easy to do this. You can use the following command to delete the content of the mysql log file:
cat /dev/null > /var/log/slow-queries.log