dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

Tip: Purging Binary Logs in MySQL

Stay out of trouble regarding reaching maximum disk space by purging old logs in MySQL when they are no longer needed.


advertisement

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


All data modifications of MySQL are updated onto logs in binary format. At times, if maintenance, such as backup, is not in place, and the data storage reaches the maximum of the disk space, you could run into trouble. MySQL may not be accessible for read/write operations, other applications cannot perform any operations, etc. You need to be the administrator to perform this:

PURGE BINARY LOGS BEFORE '2017-11-24 00:00:01';

This ensure that the binary logs are purged and the space is made available for other applications to use.

 

Visit the DevX Tip Bank

 





   
Sridhar M S. is a Java developer from Bangalore, India. He holds a master's degree in Computer Science.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date