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;
prolove 的头像

发表回复

  • b853

  • 9388

  • bc41

  • 0128

  • e36e

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Insert the contact form shortcode with the additional CSS class- "bloghoot-newsletter-section"

By signing up, you agree to the our terms and our Privacy Policy agreement.