一、开启binlog。showvariableslike‘log_bin‘;#vim/etc/my.cnf在[mysqld]中加入log-bin=mysql-binlog-bin=/usr/local/mysql/log/mysql-bin.log重启mysql服务#servicemysqldstop#servicemysqldstart二、数据写入建库createdatabasebackup;建表CREATETABLE`number`(`id`int(11)NO..
分类:
数据库 时间:
2016-07-07 11:16:24
阅读次数:
275