咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
vi /etc/my.cnf查找
log-bin=mysql-bin
binlog_format=mixed
再这两行前面加上#,将其注释掉,再执行重启mysql命令,这样就关闭了mysql日志了
/etc/init.d/mysql restart
执行:
/usr/local/mysql/bin/mysql -u root -p
输入密码,登陆到mysql,然后执行
reset master;
退出后执行: