MySQL操作日志 mysql-bin

C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -u root -p
Enter password: ******

1 查询musql-bin,mysql操作日志   
mysql> show master logs;   
   
2 删除,保留最新   
mysql>purge master logs to ‘mysql-bin.000001′;  
 
mysql> reset master;

发表评论