How to clear binlog in MySQL

1) : Execute the "reset master;" command, which will delete all the binary du logs. The number of the new log starts from "00000 1". The command is as follows: ABCD MySQL>reset master; (2) : Execute the "Purge master logs to 'mysql bin'" command, which will delete all logs before the "" number, and delete all logs before the "mysql bin" MySQL>purge master l in the following

-Read the full text-

MySql error 1010 Unable to delete database

When deleting a database, # 1010 appears... when the database cannot be deleted: 1. Enter sftp, enter the corresponding folder/var/lib/mysql, delete the corresponding database folder, and then orcd/var/lib/mysql//enter the MySql database file storage directory rm - rf basis//Force the deletion of the basis database file

-Read the full text-