MySQL – Flush Binary Logs

To flush the logs you need to execute the following 2 commands:

mysql> FLUSH LOGS;

I am using EasyPHP the mysql executable is in the ‘easyphp\mysql\bin’ directory. To execute user mysql.exe -uxxx -pyyy. Where xxx = username and yyy = password. For me the command looked like this:

C:\Program Files (x86)\EasyPHP-\mysql\bin\mysql.exe -uadmin -ppass

Leave a Reply

Your email address will not be published. Required fields are marked *