MySQL – Flush Binary Logs

Posted by on Aug 1, 2011 in MySQL | 0 comments

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

mysql> FLUSH LOGS;
mysql> RESET MASTER;

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-5.3.5.0\mysql\bin\mysql.exe -uadmin -ppass
468 ad

Leave a Reply