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. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
SET expire_log_days = 1?… – dezso Oct 12 '12 at 11:36

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


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.