Archive for January, 2012

Enable/disable core dumps

By jbayer - Last updated: Tuesday, January 10, 2012

While it normally isn’t a good idea to have core dumps enabled on a production server, sometimes that is the only way to debug a problem. There are several things which are needed to be done to enable core dumps on a modern Linux.  The attached script does this automatically for you.  It  has been […]

2,076 views

Skip duplicate entries in a slave with MySql

By jbayer - Last updated: Tuesday, January 10, 2012

While setting up some replication, I got a duplicate key error on the slave. Since I knew it wasn’t a problem, I just wanted to bypass it and continue with the replication. The attached script will do that. Briefly, it checks the slave status and if there is a Duplicate entry error, then it stops […]

656 views
asd