mysql open log_bin this version (5.5)

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

Published 52 original articles · won praise 7 · views 10000 +

Guess you like

Origin blog.csdn.net/YKWNDY/article/details/103479224
5.5