Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I'm using MySql 5.5. Is it possible to change expire_logs_days and have the changes take effect without restarting the server?

share|improve this question
2  
SET expire_log_days = 1? dev.mysql.com/doc/refman/5.5/en/… –  dezso Oct 12 '12 at 11:36

1 Answer 1

thanks @dezso

here is how I changed it: SET GLOBAL expire_logs_days = 4;

share|improve this answer
    
Please don't add "thank you" as an answer. Instead, vote up the answers that you find helpful. –  RolandoMySQLDBA Oct 15 '12 at 17:57
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. –  Max Vernon Oct 16 '12 at 17:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.