About 00000 files under MySQL

Source: Internet
Author: User

These things are the operational logs of the database

mysql-bin.000001

mysql-bin.000002

mysql-bin.000003

Wait a lot of AH ~ ~ ~ More than 200 MB of my MySQL total database add up to less than 50MB

These can be cleaned out. Under cmd under MySQL under the bin directory

Enter Mysql-u root-p and enter the password

Enter reset master after successful entry;

mysql> Reset Master;

Query OK, 0 rows affected, 1 warning (0.20 sec)

Succeeded my MySQL under the database data immediately under 200MB of garbage log files

Because local use doesn't need these things, so just don't let it generate it.

In your MySQL directory, there's a my.ini open it for Log-bin=mysql-bin and then comment it out.

#log-bin=mysql-bin

Remember to shut down the MySQL service while you are working on MySQL or you'll end the mysqld-nt process.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.