service mysql start
mysql -uroot -p123456
show variables like '%dir%'
RESET MASTER
PURGE MASTER LOGS BEFORE DATE_SUB(CURRENT_DATE, INTERVAL 7 DAY);
RESET SLAVE