1.在相对应的目录新建文件夹log
2.找到mysql安装目录,打开my.ini,在[mysqld]下面添加如下:
log-bin = C:/Program Files/MySQL/MySQL Server 5.5/log/logbin.log
3.重启mysql,即可看到相对的目录下产生相关文件。
log-bin = C:/Program Files/MySQL/MySQL Server 5.5/log/logbin.log
上一篇:yum安装Mysql整个过程
下一篇:mysql_connect(): The mysql extension is deprecated and will be removed in the fu