WAIMAOZHAN

Your description here.

Index page About

How to clean msyql binary logs

  • Author:diego
  • Time: 2024-03-08
  • Category:default category

First, use
`
SHOW BINARY LOGS;
SHOW MASTER LOGS;
`
to find the binlog name, then use the magic quote as below

Here is the magic

purge binary logs to 'mysql-bin.****';

* is the name of latest binary log file.

This is safe and quick, and can get more free space.

Tag:mysql, binary log

Cancel the comment

Add a new comment.

  • 上一篇: Wordpress disables post revisions
  • 下一篇: Wordpress rewrite rules for nginx server

Recent posts

  • seafile 迁移至新服务器
  • ubuntu mysql fail to start with exit code 1
  • ubuntu清理空间步骤
  • change npm mirror to aliyun
  • Set Composer to aliyun package mirror
  • Wordpress custom post type in archive list
  • Wordpress rewrite rules for nginx server
  • How to clean msyql binary logs
  • Wordpress disables post revisions
  • Install new extension after php was installed

Recent replies

Category

  • default category

Archive

  • October 2024
  • September 2024
  • August 2024
  • March 2024
  • January 2024
  • December 2023
  • November 2023
  • September 2023
  • February 2023

Other

  • Login
  • RSS for posts
  • RSS for comments
  • Typecho
© 2025 WAIMAOZHAN. Proudly powered by Typecho..