After mysql5.5 installation log is not turned on by default, use the command
mysql>show variables like 'log_bin';
Query the status display is OFF
Opening method: find my.ini configuration file, add open: log-bin = mysql-bin
For example, in the following locations:
[mysqld]
log-bin=mysql-bin
# The TCP/IP Port the MySQL Server will listen on
port=3306
Restart mysql service