delete mysql log on linux

The company's Linux server has more and more mysql logs, and there are many files such as mysql-bin.00001, which must be deleted.

 

input the command:

/usr/local/mysql/bin/mysql -u root -p

mysql1 delete MySql bin.0000X log file of Mysql

After entering the password to log in to mysql, run the command:

reset master;

(including ;)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326200174&siteId=291194637
Recommended