How to Enable MySQL Binlog on Windows
Edit the mysql.ini file and add a line log-bin="path". The example below places it under C:/Program Files/MySQL/MySQL Server 5.5/log:
1.Create a new folder named log in the corresponding directory
2.Locate the MySQL installation directory, open my.ini, and add the following under [mysqld]:
log-bin = C …